scsi: hisi_sas: remove stray fallthrough annotation
Subsystems (3)
PATCH 1/1 scsi: hisi_sas: remove stray fallthrough annotation
This case statement doesn't fall through any more so remove the fallthrough annotation.
Signed-off-by Dan Carpenter <[email protected]>
--- drivers/scsi/hisi_sas/hisi_sas_main.c | 1 - 1 file changed, 1 deletion(-)
drivers/scsi/hisi_sas/hisi_sas_main.c +0 -1
@@ -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 ; }
Signature · 1 line
2.20.1
Quoted 4 lines · Dan Carpenter
This case statement doesn't fall through any more so remove the fallthrough annotation.
Signed-off-by Dan Carpenter <[email protected]>
Thanks
Acked-by John Garry <[email protected]>
Quoted 16 lines
--- drivers/scsi/hisi_sas/hisi_sas_main.c | 1 - 1 file changed, 1 deletion(-)drivers/scsi/hisi_sas/hisi_sas_main.c +0
-1@@ -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 ; }
Martin K. Petersen
AppliedDan,
Quoted 2 lines
This case statement doesn't fall through any more so remove the fallthrough annotation.
Applied to 5.18/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering
Martin K. Petersen
AppliedQuoted 4 lines · Dan Carpenter
This case statement doesn't fall through any more so remove the fallthrough annotation.
Applied to 5.18/scsi-fixes, thanks!
[1/1] scsi: hisi_sas: remove stray fallthrough annotation
https://git.kernel.org/mkp/scsi/c/066f4c31945c
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering