summaryrefslogtreecommitdiffstats
path: root/samples/timers
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-02-24 14:43:30 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2017-02-27 22:19:43 -0500
commitfbdab3e7fd547e1ce558db1521659707bdf02cc6 (patch)
tree22cc39a271f2175a56f22b1ce8a56cbeb2b11e07 /samples/timers
parent825c6abbc316f496cd2b66e1fa72892cf4b49a9f (diff)
downloadop-kernel-dev-fbdab3e7fd547e1ce558db1521659707bdf02cc6.zip
op-kernel-dev-fbdab3e7fd547e1ce558db1521659707bdf02cc6.tar.gz
scsi: aacraid: remove redundant zero check on ret
The check for ret being zero is redundant as a few statements earlier we break out of the while loop if ret is non-zero. Thus we can remove the zero check and also the dead-code non-zero case too. Detected by CoverityScan, CID#1411632 ("Logically Dead Code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Dave Carroll <david.carroll@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'samples/timers')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud