mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 01:54:09 +08:00
scsi: qla2xxx: Remove redundant variable initialization
The initialization value of `rc` is wrong. It is unnecessary to initialize
`rc` variables, so remove its initialization operation.
Link: https://lore.kernel.org/r/20200802111527.4928-1-tianjia.zhang@linux.alibaba.com
Fixes: 84905dfe78
("scsi: qla2xxx: Fix TMF and Multi-Queue config")
Cc: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
715f43c66c
commit
8905cbdae9
@ -2025,7 +2025,7 @@ static void qlt_do_tmr_work(struct work_struct *work)
|
||||
struct qla_tgt_mgmt_cmd *mcmd =
|
||||
container_of(work, struct qla_tgt_mgmt_cmd, work);
|
||||
struct qla_hw_data *ha = mcmd->vha->hw;
|
||||
int rc = EIO;
|
||||
int rc;
|
||||
uint32_t tag;
|
||||
unsigned long flags;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user