From db668cd46f0b5dbbfcf32de00efe0bded92bc8b5 Mon Sep 17 00:00:00 2001 From: Wenchao Hao Date: Tue, 16 Jul 2024 14:54:14 -0700 Subject: [PATCH] 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 --- libxfs/xfs_trans_resv.c | 1 - 1 file changed, 1 deletion(-) 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 -- 2.50.1