diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-20 14:33:19 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-18 06:17:01 -0600 |
commit | 1d9433cdd04adf7cfd5e3ef81f5acb29d80aae9b (patch) | |
tree | e9d03dbe7cac8fe7f60be76866606065bd260171 /include/linux/elevator.h | |
parent | 6a5850d12977eb0a814c4977da389cebdc558863 (diff) | |
download | linux-1d9433cdd04adf7cfd5e3ef81f5acb29d80aae9b.tar.gz linux-1d9433cdd04adf7cfd5e3ef81f5acb29d80aae9b.tar.bz2 linux-1d9433cdd04adf7cfd5e3ef81f5acb29d80aae9b.zip |
block: remove the unused rq_end_sector macro
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-9-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/elevator.h')
-rw-r--r-- | include/linux/elevator.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/elevator.h b/include/linux/elevator.h index ef9ceead3db1..80633f3b600c 100644 --- a/include/linux/elevator.h +++ b/include/linux/elevator.h @@ -162,7 +162,6 @@ extern struct request *elv_rb_find(struct rb_root *, sector_t); #define ELEVATOR_INSERT_FLUSH 5 #define ELEVATOR_INSERT_SORT_MERGE 6 -#define rq_end_sector(rq) (blk_rq_pos(rq) + blk_rq_sectors(rq)) #define rb_entry_rq(node) rb_entry((node), struct request, rb_node) #define rq_entry_fifo(ptr) list_entry((ptr), struct request, queuelist) |