[PATCH] xfs: Remove duplicate include

Jiapeng Chong posted 1 patch 3 years, 11 months ago
There is a newer version of this series
fs/xfs/xfs_attr_item.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] xfs: Remove duplicate include
Posted by Jiapeng Chong 3 years, 11 months ago
Clean up the following includecheck warning:

./fs/xfs/xfs_attr_item.c: xfs_inode.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 fs/xfs/xfs_attr_item.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/xfs/xfs_attr_item.c b/fs/xfs/xfs_attr_item.c
index e8ac88d9fd14..bf9a01b083b8 100644
--- a/fs/xfs/xfs_attr_item.c
+++ b/fs/xfs/xfs_attr_item.c
@@ -22,7 +22,6 @@
 #include "xfs_attr.h"
 #include "xfs_attr_item.h"
 #include "xfs_trace.h"
-#include "xfs_inode.h"
 #include "xfs_trans_space.h"
 #include "xfs_errortag.h"
 #include "xfs_error.h"
-- 
2.20.1.7.g153144c
Re: [PATCH] xfs: Remove duplicate include
Posted by Darrick J. Wong 3 years, 11 months ago
On Sun, May 15, 2022 at 09:11:40PM +0800, Jiapeng Chong wrote:
> Clean up the following includecheck warning:
> 
> ./fs/xfs/xfs_attr_item.c: xfs_inode.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

LGTM
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  fs/xfs/xfs_attr_item.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/fs/xfs/xfs_attr_item.c b/fs/xfs/xfs_attr_item.c
> index e8ac88d9fd14..bf9a01b083b8 100644
> --- a/fs/xfs/xfs_attr_item.c
> +++ b/fs/xfs/xfs_attr_item.c
> @@ -22,7 +22,6 @@
>  #include "xfs_attr.h"
>  #include "xfs_attr_item.h"
>  #include "xfs_trace.h"
> -#include "xfs_inode.h"
>  #include "xfs_trans_space.h"
>  #include "xfs_errortag.h"
>  #include "xfs_error.h"
> -- 
> 2.20.1.7.g153144c
>