[SCSI] qla2xxx: Remove redundant assignments.
The value of the pointer called "nxt" is not used after the "nxt = qla24xx_copy_eft(ha, nxt)" statement. Hence keep the function call but remove the assignment. 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>
This commit is contained in:
parent
4e541debb8
commit
7f544d0069
|
@ -1470,7 +1470,7 @@ qla25xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked)
|
||||||
|
|
||||||
nxt = qla2xxx_copy_queues(ha, nxt);
|
nxt = qla2xxx_copy_queues(ha, nxt);
|
||||||
|
|
||||||
nxt = qla24xx_copy_eft(ha, nxt);
|
qla24xx_copy_eft(ha, nxt);
|
||||||
|
|
||||||
/* Chain entries -- started with MQ. */
|
/* Chain entries -- started with MQ. */
|
||||||
nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain);
|
nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain);
|
||||||
|
@ -1789,7 +1789,7 @@ qla81xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked)
|
||||||
|
|
||||||
nxt = qla2xxx_copy_queues(ha, nxt);
|
nxt = qla2xxx_copy_queues(ha, nxt);
|
||||||
|
|
||||||
nxt = qla24xx_copy_eft(ha, nxt);
|
qla24xx_copy_eft(ha, nxt);
|
||||||
|
|
||||||
/* Chain entries -- started with MQ. */
|
/* Chain entries -- started with MQ. */
|
||||||
nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain);
|
nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain);
|
||||||
|
@ -2291,7 +2291,7 @@ qla83xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked)
|
||||||
copy_queue:
|
copy_queue:
|
||||||
nxt = qla2xxx_copy_queues(ha, nxt);
|
nxt = qla2xxx_copy_queues(ha, nxt);
|
||||||
|
|
||||||
nxt = qla24xx_copy_eft(ha, nxt);
|
qla24xx_copy_eft(ha, nxt);
|
||||||
|
|
||||||
/* Chain entries -- started with MQ. */
|
/* Chain entries -- started with MQ. */
|
||||||
nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain);
|
nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain);
|
||||||
|
|
Loading…
Reference in New Issue