scsi: qla2xxx: Remove redundant variable initialization
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Sun, 2 Aug 2020 11:15:27 +0000 (19:15 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 25 Aug 2020 03:17:28 +0000 (23:17 -0400)
commit8905cbdae986515c5a4dcd71889672235478f189
treeee0da31920ddd29ff19aa37d861dbce24b9bdccb
parent715f43c66c45381ba885279ed393890a117e1b45
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: 84905dfe78d2 ("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>
drivers/scsi/qla2xxx/qla_target.c