Re: [PATCH 05/10] qla2xxx: Remove a dead assignment in qla24xx_build_scsi_crc_2_iocbs()

2013-06-12 Thread Saurav Kashyap
Acked-by: Saurav Kashyap saurav.kash...@qlogic.com 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_prot_sglist(cmd). Detected by Coverity. Signed-off-by: Bart Van Assche bvanass...@acm.org Cc: Chad

[PATCH 05/10] qla2xxx: Remove a dead assignment in qla24xx_build_scsi_crc_2_iocbs()

2013-06-05 Thread Bart Van Assche
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_prot_sglist(cmd). Detected by Coverity. Signed-off-by: Bart Van Assche bvanass...@acm.org Cc: Chad Dupuis chad.dup...@qlogic.com Cc: Saurav Kashyap