From 6471e93863d6494e74e99ae2bdffac9c46571f81 Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Thu, 7 Jun 2018 17:11:48 -0700 Subject: autofs: clean up includes Remove includes that aren't needed from autofs (and fs/compat_ioctl.c). Link: http://lkml.kernel.org/r/152635085258.5968.9743527195522188148.stgit@pluto.themaw.net Signed-off-by: Ian Kent Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/autofs/autofs_i.h | 2 +- fs/autofs/dev-ioctl.c | 13 ------------- fs/autofs/inode.c | 6 +----- fs/autofs/root.c | 6 ------ fs/autofs/waitq.c | 4 ---- fs/compat_ioctl.c | 1 - 6 files changed, 2 insertions(+), 30 deletions(-) (limited to 'fs') diff --git a/fs/autofs/autofs_i.h b/fs/autofs/autofs_i.h index 9110b66c7ef1..9400a9f6318a 100644 --- a/fs/autofs/autofs_i.h +++ b/fs/autofs/autofs_i.h @@ -25,7 +25,7 @@ #include #include #include -#include +#include /* This is the range of ioctl() numbers we claim as ours */ #define AUTOFS_IOC_FIRST AUTOFS_IOC_READY diff --git a/fs/autofs/dev-ioctl.c b/fs/autofs/dev-ioctl.c index a2281ab2b957..ea4ca1445ab7 100644 --- a/fs/autofs/dev-ioctl.c +++ b/fs/autofs/dev-ioctl.c @@ -7,23 +7,10 @@ * option, any later version, incorporated herein by reference. */ -#include -#include #include -#include -#include -#include -#include -#include -#include -#include -#include #include #include #include -#include -#include -#include #include "autofs_i.h" diff --git a/fs/autofs/inode.c b/fs/autofs/inode.c index 6262819ede45..b51980fc274e 100644 --- a/fs/autofs/inode.c +++ b/fs/autofs/inode.c @@ -7,16 +7,12 @@ * option, any later version, incorporated herein by reference. */ -#include -#include -#include #include #include #include -#include #include + #include "autofs_i.h" -#include struct autofs_info *autofs_new_ino(struct autofs_sb_info *sbi) { diff --git a/fs/autofs/root.c b/fs/autofs/root.c index a4b36e44f73c..a3d414150578 100644 --- a/fs/autofs/root.c +++ b/fs/autofs/root.c @@ -9,13 +9,7 @@ */ #include -#include -#include -#include -#include -#include #include -#include #include "autofs_i.h" diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index 8a566fa66afe..8c858126c751 100644 --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c @@ -7,11 +7,7 @@ * option, any later version, incorporated herein by reference. */ -#include -#include -#include #include -#include #include "autofs_i.h" /* We make this a static variable rather than a part of the superblock; it diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index b3e1768b636e..9907475b4226 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -38,7 +38,6 @@ #include #include #include -#include #include #include #include -- cgit v1.2.3