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 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
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 scsi: libsas: switch remaining files to SPDX tags 2019-05-21 06:16:22 -04:00
sas_expander.c scsi: libsas: Remove redundant assignment to variable res 2020-07-24 22:09:56 -04:00
sas_host_smp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 372 2019-06-05 17:37:10 +02:00
sas_init.c SCSI misc on 20190709 2019-07-11 15:14:01 -07:00
sas_internal.h scsi: libsas: Tidy SAS address print format 2019-12-21 13:42:42 -05:00
sas_phy.c SCSI misc on 20190709 2019-07-11 15:14:01 -07:00
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