diff mbox series

message: fusion: remove unneeded break

Message ID 20201019191950.10244-1-trix@redhat.com
State New
Headers show
Series message: fusion: remove unneeded break | expand

Commit Message

Tom Rix Oct. 19, 2020, 7:19 p.m. UTC
From: Tom Rix <trix@redhat.com>

A break is not needed if it is preceded by a return

Signed-off-by: Tom Rix <trix@redhat.com>
---
 drivers/message/fusion/mptbase.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Martin K. Petersen Oct. 26, 2020, 10:23 p.m. UTC | #1
Tom,

> A break is not needed if it is preceded by a return


Applied to 5.11/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering
Martin K. Petersen Nov. 11, 2020, 2:59 a.m. UTC | #2
On Mon, 19 Oct 2020 12:19:50 -0700, trix@redhat.com wrote:

> A break is not needed if it is preceded by a return


Applied to 5.11/scsi-queue, thanks!

[1/1] scsi: message: fusion: Remove unneeded break
      https://git.kernel.org/mkp/scsi/c/b9dd44fd79a1

-- 
Martin K. Petersen	Oracle Linux Engineering
diff mbox series

Patch

diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c
index 9903e9660a38..3078fac34e51 100644
--- a/drivers/message/fusion/mptbase.c
+++ b/drivers/message/fusion/mptbase.c
@@ -473,7 +473,6 @@  mpt_turbo_reply(MPT_ADAPTER *ioc, u32 pa)
 			mpt_free_msg_frame(ioc, mf);
 			mb();
 			return;
-			break;
 		}
 		mr = (MPT_FRAME_HDR *) CAST_U32_TO_PTR(pa);
 		break;