aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-09-26 14:08:48 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2018-09-28 02:13:33 -0400
commiteec73c2ec111164b85a41fa83aa7d37e9eb89e3f (patch)
tree88c214ec538c65310aae27e99115fc9cab6953e7 /drivers/message
parent9fe278f44b4bc06cc61e33b2af65f87d507d13d0 (diff)
scsi: qla4xxx: Remove redundant check on drvr_wait
The check for a non-zero drvr_wait is redundant as the same check is performed earlier in the outer while loop, the inner check will always be true if we reached this point inside the while loop. Remove the redundant if check. Detected by cppcheck: (warning) Identical inner 'if' condition is always true. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Manish Rangankar <Manish.Rangankar@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions

Privacy Policy