linux/drivers/scsi/isci
Yang Li 70ae13abd5 scsi: isci: Remove redundant initialization of variable 'status'
This patch removes unneeded return variables. It fixes the following
warning detected by coccinelle:

./drivers/scsi/isci/request.c:1483:17-23: Unneeded variable: "status".
Return "SCI_SUCCESS" on line 1503
./drivers/scsi/isci/request.c:2157:17-23: Unneeded variable: "status".
Return "SCI_SUCCESS" on line 2177

Link: https://lore.kernel.org/r/1612424915-106608-1-git-send-email-yang.lee@linux.alibaba.com
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-02-08 22:18:59 -05:00
..
host.c scsi: isci: Remove set but not used 'index' 2020-09-01 22:16:14 -04:00
host.h
init.c scsi: isci: Don't use PCI helper functions 2020-11-10 23:08:36 -05:00
isci.h scsi: isci: Use true, false for bool variables 2020-04-24 18:21:15 -04:00
Makefile
phy.c scsi: Remove unneeded break statements 2020-10-26 18:23:24 -04:00
phy.h
port_config.c scsi: isci: Spelling s/configruation/configuration/ 2019-10-24 21:21:44 -04:00
port.c scsi: isci: Switch back to original libsas event notifiers 2021-01-22 21:31:09 -05:00
port.h
probe_roms.c
probe_roms.h
registers.h
remote_device.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
remote_device.h scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander() 2019-06-20 15:37:02 -04:00
remote_node_context.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
remote_node_context.h
remote_node_table.c
remote_node_table.h scsi: isci: Fix a typo in a comment 2020-10-07 23:50:04 -04:00
request.c scsi: isci: Remove redundant initialization of variable 'status' 2021-02-08 22:18:59 -05:00
request.h
sas.h scsi: Replace zero-length array with flexible-array member 2020-03-11 23:07:56 -04:00
scu_completion_codes.h
scu_event_codes.h
scu_remote_node_context.h
scu_task_context.h
task.c scsi: libsas: aic94xx: hisi_sas: mvsas: pm8001: Use dev_is_expander() 2019-06-20 15:37:02 -04:00
task.h
unsolicited_frame_control.c
unsolicited_frame_control.h