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

From: kernel test robot
Date: Mon Jun 14 2021 - 23:20:45 EST


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

Generated by: scripts/checkincludes.pl

Reported-by: kernel test robot <lkp@xxxxxxxxx>
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
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>