linux/drivers/scsi/qla2xxx
Colin Ian King fe4d5cec8e 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>
2017-06-12 21:10:53 -04:00
..
Kconfig qla2xxx: Change scsi host lookup method. 2017-03-18 17:28:37 -07:00
Makefile
qla_attr.c scsi: qla2xxx: Cleanup debug message IDs 2017-06-12 20:48:07 -04:00
qla_bsg.c scsi: qla2xxx: Cleanup debug message IDs 2017-06-12 20:48:07 -04:00
qla_bsg.h qla2xxx: Add bsg interface to support statistics counter reset. 2016-07-15 15:35:37 -04:00
qla_dbg.c scsi: qla2xxx: Cleanup debug message IDs 2017-06-12 20:48:07 -04:00
qla_dbg.h qla2xxx: Improve T10-DIF/PI handling in driver. 2017-03-18 17:28:36 -07:00
qla_def.h scsi: qla2xxx: Add ql2xiniexchg parameter 2017-06-12 20:48:07 -04:00
qla_devtbl.h
qla_dfs.c scsi: qla2xxx: Cleanup debug message IDs 2017-06-12 20:48:07 -04:00
qla_fw.h qla2xxx: Improve RSCN handling in driver 2017-02-09 00:39:02 -08:00
qla_gbl.h scsi: qla2xxx: Add ql2xiniexchg parameter 2017-06-12 20:48:07 -04:00
qla_gs.c scsi: qla2xxx: Cleanup debug message IDs 2017-06-12 20:48:07 -04:00
qla_init.c scsi: qla2xxx: Accelerate SCSI BUSY status generation in target mode 2017-06-12 20:48:08 -04:00
qla_inline.h scsi: qla2xxx: Add ql2xiniexchg parameter 2017-06-12 20:48:07 -04:00
qla_iocb.c scsi: qla2xxx: Remove extra register read 2017-06-12 20:48:08 -04:00
qla_isr.c scsi: qla2xxx: Cleanup debug message IDs 2017-06-12 20:48:07 -04:00
qla_mbx.c scsi: qla2xxx: Accelerate SCSI BUSY status generation in target mode 2017-06-12 20:48:08 -04:00
qla_mid.c qla2xxx: Allow vref count to timeout on vport delete. 2017-03-18 17:27:56 -07:00
qla_mr.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2017-03-02 14:52:05 -08:00
qla_mr.h
qla_nx2.c qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx2.h qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx.c qla2xxx: Move two arrays from header files to .c files 2017-01-17 11:26:41 -08:00
qla_nx.h scsi: qla2xxx: remove writeq/readq function definitions 2017-06-12 20:48:08 -04:00
qla_os.c scsi: qla2xxx: Add ql2xiniexchg parameter 2017-06-12 20:48:07 -04:00
qla_settings.h
qla_sup.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
qla_target.c scsi: qla2xxx: remove redundant null check on tgt 2017-06-12 21:10:53 -04:00
qla_target.h scsi: qla2xxx: Remove unused irq_cmd_count field. 2017-06-12 20:48:08 -04:00
qla_tmpl.c scsi: qla2xxx: Retain loop test for fwdump length exceeding buffer length 2017-06-12 20:48:07 -04:00
qla_tmpl.h
qla_version.h qla2xxx: Update driver version to 9.00.00.00-k 2017-03-18 17:28:38 -07:00
tcm_qla2xxx.c scsi: qla2xxx: Convert 32-bit LUN usage to 64-bit 2017-06-12 20:48:07 -04:00
tcm_qla2xxx.h qla2xxx: Track I-T nexus as single fc_port struct 2017-02-08 23:34:07 -08:00