Message ID | 1635911107-63759-1-git-send-email-jiapeng.chong@linux.alibaba.com (mailing list archive) |
---|---|
State | Accepted |
Commit | a4414341b58397e703c066d28081c58f5057e948 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | amt: Remove duplicate include | expand |
Hi Jiapeng, On 2021. 11. 3. 오후 12:45, Jiapeng Chong wrote: > Clean up the following includecheck warning: > > ./drivers/net/amt.c: net/protocol.h is included more than once. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> > --- > drivers/net/amt.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/amt.c b/drivers/net/amt.c > index 60a7053..6697f8b 100644 > --- a/drivers/net/amt.c > +++ b/drivers/net/amt.c > @@ -12,7 +12,6 @@ > #include <linux/igmp.h> > #include <linux/workqueue.h> > #include <net/net_namespace.h> > -#include <net/protocol.h> > #include <net/ip.h> > #include <net/udp.h> > #include <net/udp_tunnel.h> > target repo is "net-next". Reviewed-by: Taehee Yoo <ap420073@gmail.com>
Hello: This patch was applied to netdev/net.git (master) by David S. Miller <davem@davemloft.net>: On Wed, 3 Nov 2021 11:45:07 +0800 you wrote: > Clean up the following includecheck warning: > > ./drivers/net/amt.c: net/protocol.h is included more than once. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> > > [...] Here is the summary with links: - amt: Remove duplicate include https://git.kernel.org/netdev/net/c/a4414341b583 You are awesome, thank you!
diff --git a/drivers/net/amt.c b/drivers/net/amt.c index 60a7053..6697f8b 100644 --- a/drivers/net/amt.c +++ b/drivers/net/amt.c @@ -12,7 +12,6 @@ #include <linux/igmp.h> #include <linux/workqueue.h> #include <net/net_namespace.h> -#include <net/protocol.h> #include <net/ip.h> #include <net/udp.h> #include <net/udp_tunnel.h>
Clean up the following includecheck warning: ./drivers/net/amt.c: net/protocol.h is included more than once. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> --- drivers/net/amt.c | 1 - 1 file changed, 1 deletion(-)