Skip to content
Snippets Groups Projects
Commit ef1661ba authored by Jean Sacren's avatar Jean Sacren Committed by Jens Axboe
Browse files

blk-mq: fix redundant check of !e expression


In the if branch, e is checked.  In the else branch, ->dispatch_busy is
merely a number and has no effect on !e.  We should remove the check of
!e since it is always true.

Signed-off-by: default avatarJean Sacren <sakiwit@gmail.com>
Link: https://lore.kernel.org/r/20211029202945.3052-1-sakiwit@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 9b84c629
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment