* [PATCH -next] usb: gadget: u_ether: Remove duplicated include in u_ether.c
@ 2022-06-23 1:08 Yang Li
0 siblings, 0 replies; only message in thread
From: Yang Li @ 2022-06-23 1:08 UTC (permalink / raw)
To: balbi; +Cc: gregkh, linux-usb, linux-kernel, Yang Li
Fix following includecheck warning:
./drivers/usb/gadget/function/u_ether.c: linux/etherdevice.h is included
more than once.
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-23 1:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-23 1:08 [PATCH -next] usb: gadget: u_ether: Remove duplicated include in u_ether.c Yang Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).