[PATCH] Signed-off-by: Elouan Da Costa Peixoto <elouandacostapeixoto@xxxxxxxxx>

From: Elouan Da Costa Peixoto

Date: Wed Aug 26 2026 - 05:55:43 EST


Remove all unused headers in the ngene-i2c.c files.
Check all headers individualy to see if the driver compiled.
Check if some symbols from those headers where used directly by the file
using grep.
Use the script scripts/checkincludes.pl
---
drivers/media/pci/ngene/ngene-i2c.c | 15 ---------------
1 file changed, 15 deletions(-)

diff --git a/drivers/media/pci/ngene/ngene-i2c.c b/drivers/media/pci/ngene/ngene-i2c.c
index 2e9e9774dc6f..038bab38db36 100644
--- a/drivers/media/pci/ngene/ngene-i2c.c
+++ b/drivers/media/pci/ngene/ngene-i2c.c
@@ -10,21 +10,6 @@
* support for new dual DVB-S2 card prototype
*/

-/* FIXME - some of these can probably be removed */
-#include <linux/module.h>
-#include <linux/init.h>
-#include <linux/delay.h>
-#include <linux/slab.h>
-#include <linux/poll.h>
-#include <linux/io.h>
-#include <asm/div64.h>
-#include <linux/pci.h>
-#include <linux/pci_ids.h>
-#include <linux/timer.h>
-#include <linux/byteorder/generic.h>
-#include <linux/firmware.h>
-#include <linux/vmalloc.h>
-
#include "ngene.h"

/* Firmware command for i2c operations */
--
2.55.0

Signed-off-by: Elouan Da Costa Peixoto <elouandacostapeixoto@xxxxxxxxx>