]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: isci: Remove redundant initialization of variable 'status'
authorColin Ian King <colin.king@canonical.com>
Thu, 23 Jul 2020 14:26:14 +0000 (15:26 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 25 Jul 2020 02:09:56 +0000 (22:09 -0400)
commit1cf82f4469ba0b968e7d5008defffa3ffb80bf5d
tree9210fce2263b6b58e20e4cbaa7514d721d57dde8
parent662ab31f761f6381ea5a87401aee8d0da8810d75
scsi: isci: Remove redundant initialization of variable 'status'

The variable 'status' is being initialized with a value that is never read
and it is being updated later with a new value.  The initialization is
redundant and can be removed.

Link: https://lore.kernel.org/r/20200723142614.991416-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")
drivers/scsi/isci/request.c