From: Wenchao Hao Date: Tue, 16 Jul 2024 21:54:14 +0000 (-0700) Subject: xfs: Remove header files which are included more than once X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=db668cd46f0b5dbbfcf32de00efe0bded92bc8b5;p=users%2Fhch%2Fxfsprogs.git xfs: Remove header files which are included more than once Source kernel commit: a330cae8a7147890262b06e1aa13db048e3b130f 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 Reviewed-by: Darrick J. Wong Signed-off-by: Chandan Babu R --- diff --git a/libxfs/xfs_trans_resv.c b/libxfs/xfs_trans_resv.c index dc405a943..a2cb4d63e 100644 --- a/libxfs/xfs_trans_resv.c +++ b/libxfs/xfs_trans_resv.c @@ -19,7 +19,6 @@ #include "xfs_trans_space.h" #include "xfs_quota_defs.h" #include "xfs_rtbitmap.h" -#include "xfs_da_format.h" #define _ALLOC true #define _FREE false