* [PATCH] block: remove blkdev_entry_to_request() macro
@ 2018-07-13 14:07 Vladimir Zapolskiy
2018-07-13 14:12 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Vladimir Zapolskiy @ 2018-07-13 14:07 UTC (permalink / raw)
To: Jens Axboe; +Cc: Christoph Hellwig, linux-kernel
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>
---
include/linux/blkdev.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 79226ca..eb101fd 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -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;
--
2.10.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] block: remove blkdev_entry_to_request() macro
2018-07-13 14:07 [PATCH] block: remove blkdev_entry_to_request() macro Vladimir Zapolskiy
@ 2018-07-13 14:12 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2018-07-13 14:12 UTC (permalink / raw)
To: Vladimir Zapolskiy; +Cc: Christoph Hellwig, linux-kernel
On 7/13/18 8:07 AM, Vladimir Zapolskiy wrote:
> 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.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-13 14:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-13 14:07 [PATCH] block: remove blkdev_entry_to_request() macro Vladimir Zapolskiy
2018-07-13 14:12 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome