net: usb: int51x1: remove unused includes
Subsystems (4)
PATCH 1/1 net: usb: int51x1: remove unused includes
Most of the headers the int51x1 driver includes are not actually used. Remove these unused includes.
Signed-off-by Ethan Nelson-Moore <[email protected]>
--- drivers/net/usb/int51x1.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/net/usb/int51x1.c +0 -5
@@ -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
Signature · 1 line
2.43.0
Jakub Kicinski
maintainerQuoted 1 line · On Sun, 25 Jan 2026 23:06:13 -0800 Ethan Nelson-Moore wrote:
-#include <
linux/usb.h>
$ git grep 'struct usb_driver {'
include/linux/usb.h:struct usb_driver {Please do not send v2 of this one.
Signature · 1 line
pw-bot: reject
Quoted 2 lines · Jakub Kicinski
$ git grep 'struct usb_driver {'
include/linux/usb.h:struct usb_driver {Good point. I'll try to avoid introducing indirect header dependencies in the future.
Quoted 1 line
Please do not send v2 of this one.
Understandable. This kind of trivial cleanup isn't really necessary anyway; I just happened to notice the unused includes.
Ethan