diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-06-05 20:29:58 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-06-13 04:10:53 +0300 |
commit | fe4d5cec8eda7b1404eec8664bc165d6d2539176 (patch) | |
tree | 960ebce1ba41cd1d9f12cfd7f374262cdc9818a3 /drivers/ssb/driver_chipcommon_sflash.c | |
parent | 2c87ea97ce6a53fc8c98a796b34fed5b84aeff6b (diff) | |
download | linux-fe4d5cec8eda7b1404eec8664bc165d6d2539176.tar.xz |
scsi: qla2xxx: remove redundant null check on tgt
An earlier commit ed7fb808477b846bb2 ("scsi: qla2xxx: Remove redundant
wait when target is stopped.") removed a null check on ha->tgt.tgt_ops
and replaced it with a new check that null checked tgt, thus making the
subsequent null check on tgt totally redundant. Remove it.
Detected by CoverityScan, CID#1440452 ("Logically Dead Code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ssb/driver_chipcommon_sflash.c')
0 files changed, 0 insertions, 0 deletions