diff options
author | Bart Van Assche <bvanassche@acm.org> | 2013-06-25 15:27:24 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-07-08 16:27:07 (GMT) |
commit | 6593d5bdbdb26d848ac5afa469cdca7abd3298df (patch) | |
tree | 4fe261c028fc7aa79f2b95fba8489fe01a11b4fc /drivers/scsi/qla2xxx/qla_init.c | |
parent | a44c72f309224973ffc7c7dfeee6e354c6f3d739 (diff) | |
download | linux-6593d5bdbdb26d848ac5afa469cdca7abd3298df.tar.xz |
[SCSI] qla2xxx: Remove dead code in qla2x00_configure_hba()
At the end of qla2x00_configure_hba() we know that rval == QLA_SUCCESS.
Hence remove the dead code.
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_init.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_init.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/scsi/qla2xxx/qla_init.c b/drivers/scsi/qla2xxx/qla_init.c index 3565dfd..f2216ed 100644 --- a/drivers/scsi/qla2xxx/qla_init.c +++ b/drivers/scsi/qla2xxx/qla_init.c @@ -2309,14 +2309,6 @@ qla2x00_configure_hba(scsi_qla_host_t *vha) "Topology - %s, Host Loop address 0x%x.\n", connect_type, vha->loop_id); - if (rval) { - ql_log(ql_log_warn, vha, 0x2011, - "%s FAILED\n", __func__); - } else { - ql_dbg(ql_dbg_disc, vha, 0x2012, - "%s success\n", __func__); - } - return(rval); } |