summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hisi_sas
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-04 08:48:35 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2021-02-09 04:18:59 +0100
commit70ae13abd5d054d32a68a35a81fd4f37f88fc7e1 (patch)
tree766d84059e4596a872a94b35978306574ebf2c79 /drivers/scsi/hisi_sas
parentscsi: ufs: Print the counter of each event history (diff)
downloadlinux-70ae13abd5d054d32a68a35a81fd4f37f88fc7e1.tar.xz
linux-70ae13abd5d054d32a68a35a81fd4f37f88fc7e1.zip
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>
Diffstat (limited to 'drivers/scsi/hisi_sas')
0 files changed, 0 insertions, 0 deletions