block: remove useless BUG_ON() in blk_mq_put_tag()
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2083917 commit ff47dbd1 Author: Damien Le Moal <damien.lemoal@opensource.wdc.com> Date: Thu Jun 2 16:51:59 2022 +0900 block: remove useless BUG_ON() in blk_mq_put_tag() Since the if condition in blk_mq_put_tag() checks that the tag to put is not a reserved one, the BUG_ON() check in the else branch checking if the tag is indeed a reserved one is useless. Remove it. Signed-off-by:Damien Le Moal <damien.lemoal@opensource.wdc.com> Link: https://lore.kernel.org/r/20220602075159.1273366-1-damien.lemoal@opensource.wdc.com Signed-off-by:
Jens Axboe <axboe@kernel.dk> Signed-off-by:
Ming Lei <ming.lei@redhat.com>
Please register or sign in to comment