summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2022-03-17 08:52:14 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2022-03-30 05:53:03 +0200
commit066f4c31945ce2cb30e840794ee01713dec73b74 (patch)
treec92522763a98e894b4eff18a3e3e38009c0f8f19 /drivers
parentscsi: virtio-scsi: Eliminate anonymous module_init & module_exit (diff)
downloadlinux-066f4c31945ce2cb30e840794ee01713dec73b74.tar.xz
linux-066f4c31945ce2cb30e840794ee01713dec73b74.zip
scsi: hisi_sas: Remove stray fallthrough annotation
This case statement doesn't fall through any more so remove the fallthrough annotation. Link: https://lore.kernel.org/r/20220317075214.GC25237@kili Acked-by: John Garry <john.garry@huawei.com> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/hisi_sas/hisi_sas_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c
index 461ef8a76c4c..4bda2f6cb352 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_main.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_main.c
@@ -442,7 +442,6 @@ void hisi_sas_task_deliver(struct hisi_hba *hisi_hba,
case SAS_PROTOCOL_INTERNAL_ABORT:
hisi_sas_task_prep_abort(hisi_hba, slot);
break;
- fallthrough;
default:
return;
}