summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_dbg.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2013-06-25 15:27:26 (GMT)
committerJames Bottomley <JBottomley@Parallels.com>2013-07-08 16:29:21 (GMT)
commit4e541debb8f8746bd61f41cbb129ce9c6987b9d8 (patch)
tree84b3b42fec0a4f1b95a4efe75eca304d1adeb9f6 /drivers/scsi/qla2xxx/qla_dbg.c
parentc5dcfaac943da1a2981e7488f74b0d4259fbb43f (diff)
downloadlinux-fsl-qoriq-4e541debb8f8746bd61f41cbb129ce9c6987b9d8.tar.xz
[SCSI] qla2xxx: Remove a dead assignment in qla24xx_build_scsi_crc_2_iocbs().
Since the value of cur_seg is not used and since scsi_prot_sglist() has no side effects it is safe to remove the statement "cur_seg = scsi_port_sglist(cmd)". Detected by Coverity. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_dbg.c')
0 files changed, 0 insertions, 0 deletions