* [PATCH] usb: gadget: remove duplicate include
@ 2021-12-15 1:47 cgel.zte
2021-12-15 22:47 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: cgel.zte @ 2021-12-15 1:47 UTC (permalink / raw)
To: balbi
Cc: maze, deng.changcheng, lorenzo, kuba, manish.narani, linux-usb,
linux-kernel, Zeal Robot
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] usb: gadget: remove duplicate include
2021-12-15 1:47 [PATCH] usb: gadget: remove duplicate include cgel.zte
@ 2021-12-15 22:47 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-12-15 22:47 UTC (permalink / raw)
To: cgel.zte
Cc: balbi, maze, deng.changcheng, lorenzo, kuba, manish.narani,
linux-usb, linux-kernel, Zeal Robot
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?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-15 22:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-15 1:47 [PATCH] usb: gadget: remove duplicate include cgel.zte
2021-12-15 22:47 ` Greg KH
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).