diff mbox series

[RFC,tip] sched/headers, net: fix duplicated inclusion

Message ID 20210615011107.GP237458@shao2-debian (mailing list archive)
State Superseded
Delegated to: Netdev Maintainers
Headers show
Series [RFC,tip] sched/headers, net: fix duplicated inclusion | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Chen, Rong A June 15, 2021, 1:11 a.m. UTC
net/core/sock.c: linux/poll.h is included more than once.

Generated by: scripts/checkincludes.pl

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 sock.c |    1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/net/core/sock.c b/net/core/sock.c
index b3ed6b3e6c81f..7a2913bc212f2 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -106,7 +106,6 @@ 
 #include <linux/mm.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
-#include <linux/poll.h>
 #include <linux/tcp.h>
 #include <linux/init.h>
 #include <linux/poll.h>