diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-08-26 22:08:50 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-04 20:53:10 -0400 |
commit | c00c72ae01c03d3d172150392419040f8d55ab04 (patch) | |
tree | b0ee920f4720316004729a54a9bd0b8725a4b078 /drivers/scsi/qla2xxx/qla_os.c | |
parent | f7d289f62e2ea911ecb710015efd45c687fa81ce (diff) |
[SCSI] qla2xxx: Simplify redundant target/device reset logic.
Remove redundant qla2x00_target_reset() function in favour of
the equivalent qla2x00_device_reset(). Update callers of
old function.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 0fc37d810e05..29cf3f510935 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1022,7 +1022,7 @@ qla2x00_loop_reset(scsi_qla_host_t *ha) | |||
1022 | if (fcport->port_type != FCT_TARGET) | 1022 | if (fcport->port_type != FCT_TARGET) |
1023 | continue; | 1023 | continue; |
1024 | 1024 | ||
1025 | status = qla2x00_target_reset(ha, fcport); | 1025 | status = qla2x00_device_reset(ha, fcport); |
1026 | if (status != QLA_SUCCESS) | 1026 | if (status != QLA_SUCCESS) |
1027 | break; | 1027 | break; |
1028 | } | 1028 | } |