summaryrefslogtreecommitdiffstats
path: root/drivers/block/pktcdvd.c
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 20:12:14 +0200
commite442cbf910c71fba5926cf757dd7f8fcce22fc5f (patch)
tree4adf1343df59443e484e66a6dec22ac0cfaf380c /drivers/block/pktcdvd.c
parentnvme: add support for streams and directives (diff)
downloadlinux-e442cbf910c71fba5926cf757dd7f8fcce22fc5f.tar.xz
linux-e442cbf910c71fba5926cf757dd7f8fcce22fc5f.zip
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>
Diffstat (limited to 'drivers/block/pktcdvd.c')
-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;