]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
xfs: Remove header files which are included more than once
authorWenchao Hao <haowenchao22@gmail.com>
Thu, 6 Jun 2024 09:17:54 +0000 (17:17 +0800)
committerChandan Babu R <chandanbabu@kernel.org>
Mon, 1 Jul 2024 04:02:29 +0000 (09:32 +0530)
Following warning is reported, so remove these duplicated header
including:

./fs/xfs/libxfs/xfs_trans_resv.c: xfs_da_format.h is included more than once.
./fs/xfs/scrub/quota_repair.c: xfs_format.h is included more than once.
./fs/xfs/xfs_handle.c: xfs_da_btree.h is included more than once.
./fs/xfs/xfs_qm_bhv.c: xfs_mount.h is included more than once.
./fs/xfs/xfs_trace.c: xfs_bmap.h is included more than once.

This is just a clean code, no logic changed.

Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/libxfs/xfs_trans_resv.c
fs/xfs/scrub/quota_repair.c
fs/xfs/xfs_handle.c
fs/xfs/xfs_qm_bhv.c
fs/xfs/xfs_trace.c

index 6dbe6e7251e7cae408eba3c5f6a810246125c408..3dc8f785bf2947dec439cd5c9009772ab3ebef24 100644 (file)
@@ -22,7 +22,6 @@
 #include "xfs_rtbitmap.h"
 #include "xfs_attr_item.h"
 #include "xfs_log.h"
-#include "xfs_da_format.h"
 
 #define _ALLOC true
 #define _FREE  false
index 90cd1512bba96103c7f7517bd98525ba26ba62cd..cd51f10f29209e3f711a48624ae0c13401f80e56 100644 (file)
@@ -12,7 +12,6 @@
 #include "xfs_defer.h"
 #include "xfs_btree.h"
 #include "xfs_bit.h"
-#include "xfs_format.h"
 #include "xfs_log_format.h"
 #include "xfs_trans.h"
 #include "xfs_sb.h"
index a3f16e9b6fe5b53baf7e75e6391435772d51044b..cf5acbd3c7cae66dba8b4f65c7a21073bbca372d 100644 (file)
@@ -21,7 +21,6 @@
 #include "xfs_attr.h"
 #include "xfs_ioctl.h"
 #include "xfs_parent.h"
-#include "xfs_da_btree.h"
 #include "xfs_handle.h"
 #include "xfs_health.h"
 #include "xfs_icache.h"
index 271c1021c73350083c45ea631a08d297c4fbd3ad..a11436579877d580f4fbb0a66c0d307a9f7b79f0 100644 (file)
@@ -11,7 +11,6 @@
 #include "xfs_trans_resv.h"
 #include "xfs_mount.h"
 #include "xfs_quota.h"
-#include "xfs_mount.h"
 #include "xfs_inode.h"
 #include "xfs_trans.h"
 #include "xfs_qm.h"
index 9c7fbaae2717ddc7d903078995e801243db8c742..e1ec56d957916ac4114ad7154297ba9c26625511 100644 (file)
@@ -38,7 +38,6 @@
 #include "xfs_iomap.h"
 #include "xfs_buf_mem.h"
 #include "xfs_btree_mem.h"
-#include "xfs_bmap.h"
 #include "xfs_exchmaps.h"
 #include "xfs_exchrange.h"
 #include "xfs_parent.h"