aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-06-23 09:08:08 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-24 13:42:17 +0200
commit508aeb54e4f0225f4ff3da9b7ec8ac44ce30aad8 (patch)
tree0ec82a9b6e357bfc60149ded2bd556fe4c3c2721
parentusb: max-3421: drop unexpected word "the" in the comments (diff)
downloadlinux-dev-508aeb54e4f0225f4ff3da9b7ec8ac44ce30aad8.tar.xz
linux-dev-508aeb54e4f0225f4ff3da9b7ec8ac44ce30aad8.zip
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 <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/20220623010808.9816-1-yang.lee@linux.alibaba.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/gadget/function/u_ether.c1
1 files changed, 0 insertions, 1 deletions
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"