From: Christoph Hellwig Date: Wed, 1 Jul 2020 08:59:36 +0000 (+0200) Subject: bcache: stop setting ->queuedata X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=987a0ef88bf749f65e891a22c481b2934c6019de;p=linux.git bcache: stop setting ->queuedata Nothing in bcache actually uses the ->queuedata field. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index 2014016f9a60d..21aa168113d30 100644 --- a/drivers/md/bcache/super.c +++ b/drivers/md/bcache/super.c @@ -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;