]> www.infradead.org Git - nvme.git/commit
block: remove unnecessary check in blk_unfreeze_check_owner()
authorMing Lei <ming.lei@redhat.com>
Wed, 27 Nov 2024 13:51:27 +0000 (21:51 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Dec 2024 15:17:22 +0000 (08:17 -0700)
commitaff09dc1fd3a165289011ab23cc3b46978ec741c
tree309c09ac7b20dd668a636af7c09f3cd4904b205d
parent4bbf9020becbfd8fc2c3da790855b7042fad455b
block: remove unnecessary check in blk_unfreeze_check_owner()

The following check of 'q->mq_freeze_owner != current' covers the
previous one, so remove the unnecessary check.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20241127135133.3952153-2-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c