Commit 53042f3c authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe
Browse files

ps3vram: stop using ->queuedata



Instead of setting up the queuedata as well just use one private data
field.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6bbae860
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -587,7 +587,7 @@ out:

static blk_qc_t ps3vram_make_request(struct request_queue *q, struct bio *bio)
{
	struct ps3_system_bus_device *dev = q->queuedata;
	struct ps3_system_bus_device *dev = bio->bi_disk->private_data;
	struct ps3vram_priv *priv = ps3_system_bus_get_drvdata(dev);
	int busy;

@@ -745,7 +745,6 @@ static int ps3vram_probe(struct ps3_system_bus_device *dev)
	}

	priv->queue = queue;
	queue->queuedata = dev;
	blk_queue_max_segments(queue, BLK_MAX_SEGMENTS);
	blk_queue_max_segment_size(queue, BLK_MAX_SEGMENT_SIZE);
	blk_queue_max_hw_sectors(queue, BLK_SAFE_MAX_SECTORS);