summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorJens Axboe2018-10-12 17:24:57 +0200
committerJens Axboe2018-10-14 20:49:40 +0200
commit5e27891e88555fecd8262e110e1a29feca4b0166 (patch)
tree8d7762fca759cd2319014e6d12ebef67b568ea2e /drivers/cdrom
parentnull_blk: remove legacy IO path (diff)
downloadkernel-qcow2-linux-5e27891e88555fecd8262e110e1a29feca4b0166.tar.gz
kernel-qcow2-linux-5e27891e88555fecd8262e110e1a29feca4b0166.tar.xz
kernel-qcow2-linux-5e27891e88555fecd8262e110e1a29feca4b0166.zip
block: remove bogus check for queue_lock assignment
We just allocated the queue and haven't even set it up yet, hence we know that checking if ->mq_ops is NULL is always going to be true. In fact we do need to assign a lock to ->queue_lock always, as we need it for the queue flags modifications. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions