diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2024-12-17 13:03:07 -0800 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2024-12-23 08:17:23 -0700 |
| commit | 48ea518d0072e29a7af304258a4cedb3e7eea308 (patch) | |
| tree | b7dceb39a557d424fdbd35ad41235ce1748e7fe5 /block | |
| parent | rust: block: fix use of BLK_MQ_F_SHOULD_MERGE (diff) | |
| download | linux-48ea518d0072e29a7af304258a4cedb3e7eea308.tar.gz linux-48ea518d0072e29a7af304258a4cedb3e7eea308.zip | |
blk-zoned: Minimize #include directives
Only include those header files that are necessary.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20241217210310.645966-2-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
| -rw-r--r-- | block/blk-zoned.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/block/blk-zoned.c b/block/blk-zoned.c index 84da1eadff64..1575b887fa38 100644 --- a/block/blk-zoned.c +++ b/block/blk-zoned.c @@ -11,12 +11,8 @@ */ #include <linux/kernel.h> -#include <linux/module.h> #include <linux/blkdev.h> #include <linux/blk-mq.h> -#include <linux/mm.h> -#include <linux/vmalloc.h> -#include <linux/sched/mm.h> #include <linux/spinlock.h> #include <linux/refcount.h> #include <linux/mempool.h> |
