Skip to content

Commit

Permalink
block: remove the cmd_size field from struct request_queue
Browse files Browse the repository at this point in the history
Entirely unused.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Christoph Hellwig authored and Jens Axboe committed Oct 18, 2021
1 parent 9013823 commit 713e4e1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/blkdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,6 @@ struct request_queue {

bool mq_sysfs_init_done;

size_t cmd_size;

#define BLK_MAX_WRITE_HINTS 5
u64 write_hints[BLK_MAX_WRITE_HINTS];
};
Expand Down

0 comments on commit 713e4e1

Please sign in to comment.