Skip to contentSkip to conversation

block: remove blkdev_entry_to_request() macro

PATCH Applied Vladimir Zapolskiy 2 participants 2 messages Jul 13, 2018 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove blkdev_entry_to_request() macro

Remove blkdev_entry_to_request() macro, which remained unused through the observable history, also note that it repeats list_entry_rq() macro verbatim.

---
 include/linux/blkdev.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/blkdev.h +0 -2
index 79226ca..eb101fd 100644
@@ -1437,8 +1437,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;
Signature · 1 line
2.10.2
maintainer Applied
#1 lore raw
Quoted 3 lines · Vladimir Zapolskiy

Remove blkdev_entry_to_request() macro, which remained unused through the observable history, also note that it repeats list_entry_rq() macro verbatim.

Applied, thanks.

Signature · 1 line
Jens Axboe