Thread (3 messages) 3 messages, 2 authors, 2026-01-28
STALE152d

[PATCH net-next] net: usb: int51x1: remove unused includes

From: Ethan Nelson-Moore <hidden>
Date: 2026-01-26 07:06:27
Also in: linux-usb
Subsystem: networking drivers, the rest, usb networking drivers · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

Most of the headers the int51x1 driver includes are not actually used.
Remove these unused includes.

Signed-off-by: Ethan Nelson-Moore <redacted>
---
 drivers/net/usb/int51x1.c | 5 -----
 1 file changed, 5 deletions(-)
diff --git a/drivers/net/usb/int51x1.c b/drivers/net/usb/int51x1.c
index 6fde41550de1..317ae365277f 100644
--- a/drivers/net/usb/int51x1.c
+++ b/drivers/net/usb/int51x1.c
@@ -13,13 +13,8 @@
  */
 
 #include <linux/module.h>
-#include <linux/ctype.h>
 #include <linux/netdevice.h>
 #include <linux/etherdevice.h>
-#include <linux/ethtool.h>
-#include <linux/slab.h>
-#include <linux/mii.h>
-#include <linux/usb.h>
 #include <linux/usb/usbnet.h>
 
 #define INT51X1_VENDOR_ID	0x09e1
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help