2022-06-23 01:29:13

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] usb: gadget: u_ether: Remove duplicated include in u_ether.c

Fix following includecheck warning:
./drivers/usb/gadget/function/u_ether.c: linux/etherdevice.h is included
more than once.

Signed-off-by: Yang Li <[email protected]>
---
drivers/usb/gadget/function/u_ether.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/usb/gadget/function/u_ether.c b/drivers/usb/gadget/function/u_ether.c
index f51694f29de9..7887def05dc2 100644
--- a/drivers/usb/gadget/function/u_ether.c
+++ b/drivers/usb/gadget/function/u_ether.c
@@ -17,7 +17,6 @@
#include <linux/etherdevice.h>
#include <linux/ethtool.h>
#include <linux/if_vlan.h>
-#include <linux/etherdevice.h>

#include "u_ether.h"

--
2.20.1.7.g153144c