linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] scsi: aacraid: remove erroneous fallthrough annotation
@ 2020-08-25 11:20 Dan Carpenter
  2020-09-09  2:17 ` Martin K. Petersen
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2020-08-25 11:20 UTC (permalink / raw)
  To: Adaptec OEM Raid Solutions
  Cc: James E.J. Bottomley, Martin K. Petersen,
	Raghava Aditya Renukunta, Dave Carroll, Johannes Thumshirn,
	linux-scsi, kernel-janitors

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(-)

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
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scsi: aacraid: remove erroneous fallthrough annotation
  2020-08-25 11:20 [PATCH] scsi: aacraid: remove erroneous fallthrough annotation Dan Carpenter
@ 2020-09-09  2:17 ` Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2020-09-09  2:17 UTC (permalink / raw)
  To: Dan Carpenter, Adaptec OEM Raid Solutions
  Cc: Martin K . Petersen, Raghava Aditya Renukunta, linux-scsi,
	Johannes Thumshirn, James E.J. Bottomley, kernel-janitors,
	Dave Carroll

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

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-09  2:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 11:20 [PATCH] scsi: aacraid: remove erroneous fallthrough annotation Dan Carpenter
2020-09-09  2:17 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).