proc: nommu: Reduce useless includes
Subsystems (2)
PATCH 1/1 proc: nommu: Reduce useless includes
This file seems to have undergone refactoring without cleaning up the unneeded includes so now includes a number of headers that are no longer needed.
Clean up the includes to cover just what is needed.
Signed-off-by Daniel Palmer <[email protected]>
---
Spotted this while trying to work out something else. Build + boot tested on m68k (68000) nommu.
fs/proc/nommu.c | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-)
fs/proc/nommu.c +2 -16
@@ -6,24 +6,10 @@*/ #include <linux/init.h> -#include <linux/module.h> -#include <linux/errno.h> -#include <linux/time.h> -#include <linux/kernel.h> -#include <linux/string.h> -#include <linux/mman.h> -#include <linux/proc_fs.h> #include <linux/mm.h> -#include <linux/mmzone.h> -#include <linux/pagemap.h> -#include <linux/swap.h> -#include <linux/smp.h> +#include <linux/proc_fs.h> +#include <linux/rbtree.h> #include <linux/seq_file.h> -#include <linux/hugetlb.h> -#include <linux/vmalloc.h> -#include <asm/tlb.h> -#include <asm/div64.h> -#include "internal.h" /* * display a single region to a sequenced file
Signature · 1 line
2.53.0