Skip to content

Commit

Permalink
pktcdvd: remove the call to blk_queue_bounce
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Jens Axboe committed Jun 27, 2017
1 parent f5d1184 commit e442cbf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/block/pktcdvd.c
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit e442cbf

Please sign in to comment.