diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2019-06-28 19:30:43 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2019-06-28 19:30:43 -0700 |
commit | 250d4b4c409778bc44577dfc59909935c92fd006 (patch) | |
tree | e267e7a98e416007767694883b5138eb963654d9 /fs/xfs/xfs_stats.c | |
parent | adfb5fb46af059387eca0fce1d8cd8733f9ee3a0 (diff) | |
download | linux-250d4b4c409778bc44577dfc59909935c92fd006.tar.gz linux-250d4b4c409778bc44577dfc59909935c92fd006.tar.bz2 linux-250d4b4c409778bc44577dfc59909935c92fd006.zip |
xfs: remove unused header files
There are many, many xfs header files which are included but
unneeded (or included twice) in the xfs code, so remove them.
nb: xfs_linux.h includes about 9 headers for everyone, so those
explicit includes get removed by this. I'm not sure what the
preference is, but if we wanted explicit includes everywhere,
a followup patch could remove those xfs_*.h includes from
xfs_linux.h and move them into the files that need them.
Or it could be left as-is.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_stats.c')
-rw-r--r-- | fs/xfs/xfs_stats.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_stats.c b/fs/xfs/xfs_stats.c index cc509743facd..113883c4f202 100644 --- a/fs/xfs/xfs_stats.c +++ b/fs/xfs/xfs_stats.c @@ -4,7 +4,6 @@ * All Rights Reserved. */ #include "xfs.h" -#include <linux/proc_fs.h> struct xstats xfsstats; |