block: remove blkdev_entry_to_request() macro
authorVladimir Zapolskiy <vz@mleia.com>
Fri, 13 Jul 2018 14:07:26 +0000 (17:07 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Jul 2018 14:12:26 +0000 (08:12 -0600)
Remove blkdev_entry_to_request() macro, which remained unused through
the observable history, also note that it repeats list_entry_rq() macro
verbatim.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/blkdev.h

index 137759862f07cb25460bf0f5d0a79892b058cde1..1939ed95f9361a12e3ce717623235cf48bc15e24 100644 (file)
@@ -1436,8 +1436,6 @@ enum blk_default_limits {
        BLK_SEG_BOUNDARY_MASK   = 0xFFFFFFFFUL,
 };
 
-#define blkdev_entry_to_request(entry) list_entry((entry), struct request, queuelist)
-
 static inline unsigned long queue_segment_boundary(struct request_queue *q)
 {
        return q->limits.seg_boundary_mask;