diff mbox series

scsi: aacraid: remove erroneous fallthrough annotation

Message ID 20200825112003.GD285523@mwanda (mailing list archive)
State Accepted
Headers show
Series scsi: aacraid: remove erroneous fallthrough annotation | expand

Commit Message

Dan Carpenter Aug. 25, 2020, 11:20 a.m. UTC
This fallthrough annotation is unreachable so we can delete it.

Fixes: c4e2fbca374b ("scsi: aacraid: Reworked scsi command submission path")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
---
 drivers/scsi/aacraid/aachba.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Martin K. Petersen Sept. 9, 2020, 2:17 a.m. UTC | #1
On Tue, 25 Aug 2020 14:20:03 +0300, Dan Carpenter wrote:

> This fallthrough annotation is unreachable so we can delete it.

Applied to 5.10/scsi-queue, thanks!

[1/1] scsi: aacraid: Remove erroneous fallthrough annotation
      https://git.kernel.org/mkp/scsi/c/cfd3d2225aa5
diff mbox series

Patch

diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index fd6ae5c38086..2fb1881954c7 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -3253,7 +3253,6 @@  int aac_scsi_cmd(struct scsi_cmnd * scsicmd)
 	case START_STOP:
 		return aac_start_stop(scsicmd);
 
-		fallthrough;
 	default:
 	/*
 	 *	Unhandled commands