Message ID | 20211215014754.441065-1-deng.changcheng@zte.com.cn |
---|---|
State | New |
Headers | show |
Series | usb: gadget: remove duplicate include | expand |
On Wed, Dec 15, 2021 at 01:47:54AM +0000, cgel.zte@gmail.com wrote: > From: Changcheng Deng <deng.changcheng@zte.com.cn> > > ./drivers/usb/gadget/function/u_ether.c: linux/etherdevice.h is included > more than once. > > Reported-by: Zeal Robot <zealci@zte.com.cn> > Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn> > --- > 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 6f5d45ef2e39..3b674f99320b 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.25.1 > This does not apply to my tree at all. What did you make it against?
diff --git a/drivers/usb/gadget/function/u_ether.c b/drivers/usb/gadget/function/u_ether.c index 6f5d45ef2e39..3b674f99320b 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"