Skip to contentSkip to conversation

message: fusion: remove unneeded break

PATCH Applied [email protected] 2 participants 3 messages Oct 19, 2020 – Nov 11, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 message: fusion: remove unneeded break

From: Tom Rix <[email protected]>

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

---
 drivers/message/fusion/mptbase.c | 1 -
 1 file changed, 1 deletion(-)
drivers/message/fusion/mptbase.c +0 -1
index 9903e9660a38..3078fac34e51 100644
@@ -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;
Signature · 1 line
2.18.1
#1 lore raw

Tom,

Quoted 1 line

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

Applied to 5.11/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering