Skip to content

Commit 987a0ef

Browse files
Christoph Hellwigaxboe
authored andcommitted
bcache: stop setting ->queuedata
Nothing in bcache actually uses the ->queuedata field. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 39ad70b commit 987a0ef

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/md/bcache/super.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,6 @@ static int bcache_device_init(struct bcache_device *d, unsigned int block_size,
876876
return -ENOMEM;
877877

878878
d->disk->queue = q;
879-
q->queuedata = d;
880879
q->backing_dev_info->congested_data = d;
881880
q->limits.max_hw_sectors = UINT_MAX;
882881
q->limits.max_sectors = UINT_MAX;

0 commit comments

Comments
 (0)