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

Message ID 202301161558444609146@zte.com.cn
State New
Headers
Series [linux-next] btrfs: remove duplicate included header files |

Commit Message

ye.xingchen@zte.com.cn Jan. 16, 2023, 7:58 a.m. UTC
  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(-)
  

Comments

David Sterba Jan. 16, 2023, 6:39 p.m. UTC | #1
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.
  

Patch

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"