diff mbox series

[2/2] block: Do not include rbtree.h in blk-zoned.c

Message ID 20240222131724.1803520-2-dlemoal@kernel.org (mailing list archive)
State New, archived
Headers show
Series [1/2] block: Clear zone limits for a non-zoned stacked queue | expand

Commit Message

Damien Le Moal Feb. 22, 2024, 1:17 p.m. UTC
The block zone code does not use RB-tree. So remove the include of
linux/rbtree.h as it is not needed.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
---
 block/blk-zoned.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Bart Van Assche Feb. 22, 2024, 5:33 p.m. UTC | #1
On 2/22/24 05:17, Damien Le Moal wrote:
> The block zone code does not use RB-tree. So remove the include of
> linux/rbtree.h as it is not needed.

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
diff mbox series

Patch

diff --git a/block/blk-zoned.c b/block/blk-zoned.c
index d343e5756a9c..fa930881b06b 100644
--- a/block/blk-zoned.c
+++ b/block/blk-zoned.c
@@ -11,7 +11,6 @@ 
 
 #include <linux/kernel.h>
 #include <linux/module.h>
-#include <linux/rbtree.h>
 #include <linux/blkdev.h>
 #include <linux/blk-mq.h>
 #include <linux/mm.h>