diff options
author | Bart Van Assche <bvanassche@acm.org> | 2013-06-25 11:27:27 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-07-08 12:30:25 -0400 |
commit | 7f544d00698282655c7abed2262a39f5d9fe9283 (patch) | |
tree | 02ce43d9aef1bcf3185b40087370296e8e786d6c /drivers/scsi | |
parent | 4e541debb8f8746bd61f41cbb129ce9c6987b9d8 (diff) |
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_dbg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dbg.c b/drivers/scsi/qla2xxx/qla_dbg.c index 91dbd8159eb1..df132fec6d86 100644 --- a/drivers/scsi/qla2xxx/qla_dbg.c +++ b/drivers/scsi/qla2xxx/qla_dbg.c | |||
@@ -1470,7 +1470,7 @@ qla25xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) | |||
1470 | 1470 | ||
1471 | nxt = qla2xxx_copy_queues(ha, nxt); | 1471 | nxt = qla2xxx_copy_queues(ha, nxt); |
1472 | 1472 | ||
1473 | nxt = qla24xx_copy_eft(ha, nxt); | 1473 | qla24xx_copy_eft(ha, nxt); |
1474 | 1474 | ||
1475 | /* Chain entries -- started with MQ. */ | 1475 | /* Chain entries -- started with MQ. */ |
1476 | nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain); | 1476 | 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) | |||
1789 | 1789 | ||
1790 | nxt = qla2xxx_copy_queues(ha, nxt); | 1790 | nxt = qla2xxx_copy_queues(ha, nxt); |
1791 | 1791 | ||
1792 | nxt = qla24xx_copy_eft(ha, nxt); | 1792 | qla24xx_copy_eft(ha, nxt); |
1793 | 1793 | ||
1794 | /* Chain entries -- started with MQ. */ | 1794 | /* Chain entries -- started with MQ. */ |
1795 | nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain); | 1795 | 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) | |||
2291 | copy_queue: | 2291 | copy_queue: |
2292 | nxt = qla2xxx_copy_queues(ha, nxt); | 2292 | nxt = qla2xxx_copy_queues(ha, nxt); |
2293 | 2293 | ||
2294 | nxt = qla24xx_copy_eft(ha, nxt); | 2294 | qla24xx_copy_eft(ha, nxt); |
2295 | 2295 | ||
2296 | /* Chain entries -- started with MQ. */ | 2296 | /* Chain entries -- started with MQ. */ |
2297 | nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain); | 2297 | nxt_chain = qla25xx_copy_fce(ha, nxt_chain, &last_chain); |