Re: [PATCH] scsi: hisi_sas: remove stray fallthrough annotation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17/03/2022 07:52, Dan Carpenter wrote:
This case statement doesn't fall through any more so remove the
fallthrough annotation.

Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Thanks

Acked-by: John Garry <john.garry@xxxxxxxxxx>

---
  drivers/scsi/hisi_sas/hisi_sas_main.c | 1 -
  1 file changed, 1 deletion(-)

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;
  	}




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux