Yangtao Li
2018-11-26 14:51:07 UTC
audit.h and skbuff.h are included twice.It's unnecessary.
hence just remove them.
Signed-off-by: Yangtao Li <***@gmail.com>
---
kernel/audit.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index 2a8058764aa6..a677715891d0 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -62,11 +62,8 @@
#include <linux/pid.h>
#include <linux/slab.h>
-#include <linux/audit.h>
-
#include <net/sock.h>
#include <net/netlink.h>
-#include <linux/skbuff.h>
#ifdef CONFIG_SECURITY
#include <linux/security.h>
#endif
hence just remove them.
Signed-off-by: Yangtao Li <***@gmail.com>
---
kernel/audit.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index 2a8058764aa6..a677715891d0 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -62,11 +62,8 @@
#include <linux/pid.h>
#include <linux/slab.h>
-#include <linux/audit.h>
-
#include <net/sock.h>
#include <net/netlink.h>
-#include <linux/skbuff.h>
#ifdef CONFIG_SECURITY
#include <linux/security.h>
#endif
--
2.17.0
2.17.0