]> www.infradead.org Git - nvme.git/commit
mq-deadline: Remove a local variable
authorBart Van Assche <bvanassche@acm.org>
Thu, 12 Dec 2024 21:29:39 +0000 (13:29 -0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 13 Dec 2024 15:09:43 +0000 (08:09 -0700)
commite01424fab35d77439956ea98c915c639fbf16db0
tree681d07fd3028950457022af3981413d0dacd2962
parent57e420c84f9ab55ba4c5e2ae9c5f6c8e1ea834d2
mq-deadline: Remove a local variable

Since commit fde02699c242 ("block: mq-deadline: Remove support for zone
write locking"), the local variable 'insert_before' is assigned once and
is used once. Hence remove this local variable.

Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20241212212941.1268662-2-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/mq-deadline.c