[PATCH linux-next] btrfs: remove duplicate included header files

ye.xingchen@zte.com.cn posted 1 patch 2 years, 8 months ago
fs/btrfs/extent-tree.c | 1 -
1 file changed, 1 deletion(-)
[PATCH linux-next] btrfs: remove duplicate included header files
Posted by ye.xingchen@zte.com.cn 2 years, 8 months ago
From: ye xingchen <ye.xingchen@zte.com.cn>

extent-tree.h is included more than once.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
---
 fs/btrfs/extent-tree.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index ad6c66ff9ba8..688cdf816957 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -38,7 +38,6 @@
 #include "dev-replace.h"
 #include "fs.h"
 #include "accessors.h"
-#include "extent-tree.h"
 #include "root-tree.h"
 #include "file-item.h"
 #include "orphan.h"
-- 
2.25.1
Re: [PATCH linux-next] btrfs: remove duplicate included header files
Posted by David Sterba 2 years, 8 months ago
On Mon, Jan 16, 2023 at 03:58:44PM +0800, ye.xingchen@zte.com.cn wrote:
> From: ye xingchen <ye.xingchen@zte.com.cn>
> 
> extent-tree.h is included more than once.
> 
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>

I did not find any other case of duplication, so added to misc-next,
thanks.