diff options
author | 2021-10-29 14:29:45 -0600 | |
---|---|---|
committer | 2021-10-30 09:34:14 -0600 | |
commit | ef1661ba6d2e9c8eecd13ee04067bdcc59f7aac6 (patch) | |
tree | 993aa336586ce8ae954a4e46c187b2f586fb0a41 /drivers/fpga/fpga-mgr.c | |
parent | blk-mq-debugfs: Show active requests per queue for shared tags (diff) | |
download | linux-dev-ef1661ba6d2e9c8eecd13ee04067bdcc59f7aac6.tar.xz linux-dev-ef1661ba6d2e9c8eecd13ee04067bdcc59f7aac6.zip |
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: Jean Sacren <sakiwit@gmail.com>
Link: https://lore.kernel.org/r/20211029202945.3052-1-sakiwit@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions