linux/drivers/scsi/libsas
Colin Ian King 55eb809f5e scsi: libsas: Remove redundant assignment to variable res
The variable 'res' 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/20200722154404.959267-1-colin.king@canonical.com
Reviewed-by: John Garry <john.garry@huawei.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")
2020-07-24 22:09:56 -04:00
..
Kconfig ata: make SATA_PMP option selectable only if any SATA host driver is enabled 2020-03-26 10:28:17 -06:00
Makefile
sas_ata.c scsi: libsas: Check link status in ATA prereset() 2020-07-24 22:09:55 -04:00
sas_discover.c scsi: libsas: Tidy SAS address print format 2019-12-21 13:42:42 -05:00
sas_event.c
sas_expander.c scsi: libsas: Remove redundant assignment to variable res 2020-07-24 22:09:56 -04:00
sas_host_smp.c
sas_init.c
sas_internal.h scsi: libsas: Tidy SAS address print format 2019-12-21 13:42:42 -05:00
sas_phy.c
sas_port.c scsi: libsas: Tidy SAS address print format 2019-12-21 13:42:42 -05:00
sas_scsi_host.c scsi: libsas: Tidy SAS address print format 2019-12-21 13:42:42 -05:00
sas_task.c scsi: libsas: Tidy SAS address print format 2019-12-21 13:42:42 -05:00