pktcdvd: remove the call to blk_queue_bounce
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Jun 2017 07:26:19 +0000 (09:26 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Jun 2017 18:12:14 +0000 (12:12 -0600)
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>
drivers/block/pktcdvd.c

index 8ef703ccc4b658a2a58aa7ebfb9e1a7d754eaf66..467beca397a2f1bd12c46a7cd9d19cdc6700ef3a 100644 (file)
@@ -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;