diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-19 09:26:22 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-27 12:13:45 -0600 |
commit | 1c4bc3ab9a064d98cdf6de6b44f89d5c3757fa32 (patch) | |
tree | 8bc3ecac8a32d96ae3587fbce5dad41e7c4c63f0 /include/linux/blkdev.h | |
parent | 3bce016a4c5975e4279bfb3cbd6d0332b856cc72 (diff) | |
download | linux-1c4bc3ab9a064d98cdf6de6b44f89d5c3757fa32.tar.gz |
block: remove the queue_bounce_pfn helper
Only used inside the bounce code, and opencoding it makes it more obvious
what is going on.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index e7eef48c97c9..25f6a0cb27d3 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -1385,11 +1385,6 @@ enum blk_default_limits { #define blkdev_entry_to_request(entry) list_entry((entry), struct request, queuelist) -static inline unsigned long queue_bounce_pfn(struct request_queue *q) -{ - return q->limits.bounce_pfn; -} - static inline unsigned long queue_segment_boundary(struct request_queue *q) { return q->limits.seg_boundary_mask; |