Skip to content

Commit dccf3c9

Browse files
yukaixiongJoelgranados
authored andcommitted
sysctl: remove unneeded include
Removing unneeded mm includes in kernel/sysctl.c. Signed-off-by: Kaixiong Yu <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Kalesh AP <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Joel Granados <[email protected]>
1 parent fa89dbd commit dccf3c9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

kernel/sysctl.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
*/
2121

2222
#include <linux/module.h>
23-
#include <linux/mm.h>
24-
#include <linux/slab.h>
2523
#include <linux/sysctl.h>
2624
#include <linux/bitmap.h>
2725
#include <linux/signal.h>
@@ -30,7 +28,6 @@
3028
#include <linux/proc_fs.h>
3129
#include <linux/security.h>
3230
#include <linux/ctype.h>
33-
#include <linux/kmemleak.h>
3431
#include <linux/filter.h>
3532
#include <linux/fs.h>
3633
#include <linux/init.h>
@@ -41,7 +38,6 @@
4138
#include <linux/highuid.h>
4239
#include <linux/writeback.h>
4340
#include <linux/ratelimit.h>
44-
#include <linux/hugetlb.h>
4541
#include <linux/initrd.h>
4642
#include <linux/key.h>
4743
#include <linux/times.h>
@@ -52,13 +48,11 @@
5248
#include <linux/reboot.h>
5349
#include <linux/ftrace.h>
5450
#include <linux/perf_event.h>
55-
#include <linux/oom.h>
5651
#include <linux/kmod.h>
5752
#include <linux/capability.h>
5853
#include <linux/binfmts.h>
5954
#include <linux/sched/sysctl.h>
6055
#include <linux/mount.h>
61-
#include <linux/userfaultfd_k.h>
6256
#include <linux/pid.h>
6357

6458
#include "../lib/kstrtox.h"

0 commit comments

Comments
 (0)