summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-06-19 09:26:19 +0200
committerJens Axboe <axboe@kernel.dk>2017-06-27 12:12:14 -0600
commite442cbf910c71fba5926cf757dd7f8fcce22fc5f (patch)
tree4adf1343df59443e484e66a6dec22ac0cfaf380c
parentf5d118406247acfc4fc481e441e01ea4d6318fdc (diff)
downloadlinux-e442cbf910c71fba5926cf757dd7f8fcce22fc5f.tar.bz2
pktcdvd: remove the call to blk_queue_bounce
pktcdvd is a make_request based stacking driver and thus doesn't have any addressing limits on it's own. It also doesn't use bio_data() or page_address(), so it doesn't need a lowmem bounce either. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--drivers/block/pktcdvd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/block/pktcdvd.c b/drivers/block/pktcdvd.c
index 8ef703ccc4b6..467beca397a2 100644
--- a/drivers/block/pktcdvd.c
+++ b/drivers/block/pktcdvd.c
@@ -2412,8 +2412,6 @@ static blk_qc_t pkt_make_request(struct request_queue *q, struct bio *bio)
char b[BDEVNAME_SIZE];
struct bio *split;
- blk_queue_bounce(q, &bio);
-
blk_queue_split(q, &bio);
pd = q->queuedata;