pktcdvd: remove a pointless debug check in pkt_submit_bio
authorChristoph Hellwig <hch@lst.de>
Fri, 4 Mar 2022 18:00:58 +0000 (19:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 7 Mar 2022 13:42:33 +0000 (06:42 -0700)
commit47c426d5241795cfcd9be748c44d1b2e2987ce70
treed06b70ed4ee96424711ccda3394adea4b0a11abc
parentad740780bbc2fe37856f944dbbaff07aac9db9e3
pktcdvd: remove a pointless debug check in pkt_submit_bio

->queuedata is set up in pkt_init_queue, so it can't be NULL here.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20220304180105.409765-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/pktcdvd.c