Thread (2 messages) flat view 2 messages, 1 author, 2021-06-15
STALE1888d

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

From: kernel test robot <hidden>
Date: 2021-06-15 03:20:45
Also in: lkml, oe-kbuild-all
Subsystem: networking [general], networking [sockets], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Kuniyuki Iwashima, Willem de Bruijn, Linus Torvalds

net/core/sock.c: linux/poll.h is included more than once.

Generated by: scripts/checkincludes.pl

Reported-by: kernel test robot <redacted>
Signed-off-by: kernel test robot <redacted>
---
 sock.c |    1 -
 1 file changed, 1 deletion(-)
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help