summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-19 10:26:22 +0300
committerJens Axboe <axboe@kernel.dk>2017-06-27 21:13:45 +0300
commit1c4bc3ab9a064d98cdf6de6b44f89d5c3757fa32 (patch)
tree8bc3ecac8a32d96ae3587fbce5dad41e7c4c63f0 /include
parent3bce016a4c5975e4279bfb3cbd6d0332b856cc72 (diff)
downloadlinux-1c4bc3ab9a064d98cdf6de6b44f89d5c3757fa32.tar.xz
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')
-rw-r--r--include/linux/blkdev.h5
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;