diff mbox series

[1/2] xfs: remove duplicated include header

Message ID 20240724024015.167894-1-sunjunchao2870@gmail.com (mailing list archive)
State Accepted, archived
Headers show
Series [1/2] xfs: remove duplicated include header | expand

Commit Message

Julian Sun July 24, 2024, 2:40 a.m. UTC
Using make includecheck, we can see the message
	./fs/xfs/libxfs/xfs_defer.c:
	xfs_trans_priv.h is included more than once.
So, remove one of them.

Signed-off-by: Julian Sun <sunjunchao2870@gmail.com>
---
 fs/xfs/libxfs/xfs_defer.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Julian Sun Aug. 1, 2024, 11:33 a.m. UTC | #1
Kindly ping..

Julian Sun <sunjunchao2870@gmail.com> 于2024年7月24日周三 10:40写道:
>
> Using make includecheck, we can see the message
>         ./fs/xfs/libxfs/xfs_defer.c:
>         xfs_trans_priv.h is included more than once.
> So, remove one of them.
>
> Signed-off-by: Julian Sun <sunjunchao2870@gmail.com>
> ---
>  fs/xfs/libxfs/xfs_defer.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/fs/xfs/libxfs/xfs_defer.c b/fs/xfs/libxfs/xfs_defer.c
> index 40021849b42f..8a73458f5acf 100644
> --- a/fs/xfs/libxfs/xfs_defer.c
> +++ b/fs/xfs/libxfs/xfs_defer.c
> @@ -12,7 +12,6 @@
>  #include "xfs_mount.h"
>  #include "xfs_defer.h"
>  #include "xfs_trans.h"
> -#include "xfs_trans_priv.h"
>  #include "xfs_buf_item.h"
>  #include "xfs_inode.h"
>  #include "xfs_inode_item.h"
> --
> 2.39.2
>
diff mbox series

Patch

diff --git a/fs/xfs/libxfs/xfs_defer.c b/fs/xfs/libxfs/xfs_defer.c
index 40021849b42f..8a73458f5acf 100644
--- a/fs/xfs/libxfs/xfs_defer.c
+++ b/fs/xfs/libxfs/xfs_defer.c
@@ -12,7 +12,6 @@ 
 #include "xfs_mount.h"
 #include "xfs_defer.h"
 #include "xfs_trans.h"
-#include "xfs_trans_priv.h"
 #include "xfs_buf_item.h"
 #include "xfs_inode.h"
 #include "xfs_inode_item.h"