]> www.infradead.org Git - users/hch/block.git/commitdiff
bcache: stop setting ->queuedata
authorChristoph Hellwig <hch@lst.de>
Sun, 29 Mar 2020 17:36:20 +0000 (19:36 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 1 Jul 2020 06:40:31 +0000 (08:40 +0200)
Nothing in bcache actually uses the ->queuedata field.

Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/md/bcache/super.c

index 2014016f9a60d301f9762ae2436ff2202f7fe131..21aa168113d30ba373840841c7bd2c64b04699d0 100644 (file)
@@ -876,7 +876,6 @@ static int bcache_device_init(struct bcache_device *d, unsigned int block_size,
                return -ENOMEM;
 
        d->disk->queue                  = q;
-       q->queuedata                    = d;
        q->backing_dev_info->congested_data = d;
        q->limits.max_hw_sectors        = UINT_MAX;
        q->limits.max_sectors           = UINT_MAX;