mirror of https://gitee.com/openkylin/linux.git
scsi: snic: Remove redundant assignment to variable ret
The variable ret is being initialized with a value that is never read, the assignment is redundant and can be removed. Link: https://lore.kernel.org/r/20210806112313.12434-1-colin.king@canonical.com Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Addresses-Coverity: ("Unused value")
This commit is contained in:
parent
bf25967ac5
commit
e9b1adb7c5
|
@ -2383,7 +2383,7 @@ snic_host_reset(struct scsi_cmnd *sc)
|
|||
{
|
||||
struct Scsi_Host *shost = sc->device->host;
|
||||
u32 start_time = jiffies;
|
||||
int ret = FAILED;
|
||||
int ret;
|
||||
|
||||
SNIC_SCSI_DBG(shost,
|
||||
"host reset:sc %p sc_cmd 0x%x req %p tag %d flags 0x%llx\n",
|
||||
|
|
Loading…
Reference in New Issue