diff options
| author | Colin Ian King <[email protected]> | 2017-02-24 14:43:30 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-02-28 03:19:43 +0000 |
| commit | fbdab3e7fd547e1ce558db1521659707bdf02cc6 (patch) | |
| tree | 22cc39a271f2175a56f22b1ce8a56cbeb2b11e07 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
| parent | scsi: lpfc: use proper format string for dma_addr_t (diff) | |
| download | kernel-fbdab3e7fd547e1ce558db1521659707bdf02cc6.tar.gz kernel-fbdab3e7fd547e1ce558db1521659707bdf02cc6.zip | |
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 <[email protected]>
Acked-by: Dave Carroll <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions
