Message ID | 20211026014807.27554-1-wanjiabing@vivo.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | xfs: Remove duplicated include in xfs_super | expand |
On Mon, Oct 25, 2021 at 09:48:07PM -0400, Wan Jiabing wrote: > Fix following checkincludes.pl warning: > ./fs/xfs/xfs_super.c: xfs_btree.h is included more than once. > > The include is in line 15. Remove the duplicated here. > > Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> LGTM, thanks for the patch. :) Reviewed-by: Darrick J. Wong <djwong@kernel.org> --D > --- > fs/xfs/xfs_super.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c > index f4c508428aad..e21459f9923a 100644 > --- a/fs/xfs/xfs_super.c > +++ b/fs/xfs/xfs_super.c > @@ -37,7 +37,6 @@ > #include "xfs_reflink.h" > #include "xfs_pwork.h" > #include "xfs_ag.h" > -#include "xfs_btree.h" > #include "xfs_defer.h" > > #include <linux/magic.h> > -- > 2.20.1 >
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index f4c508428aad..e21459f9923a 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -37,7 +37,6 @@ #include "xfs_reflink.h" #include "xfs_pwork.h" #include "xfs_ag.h" -#include "xfs_btree.h" #include "xfs_defer.h" #include <linux/magic.h>
Fix following checkincludes.pl warning: ./fs/xfs/xfs_super.c: xfs_btree.h is included more than once. The include is in line 15. Remove the duplicated here. Signed-off-by: Wan Jiabing <wanjiabing@vivo.com> --- fs/xfs/xfs_super.c | 1 - 1 file changed, 1 deletion(-)