* [PATCH] staging: r8188eu: hal: break after the return not useful
@ 2021-10-31 18:51 Saurav Girepunje
0 siblings, 0 replies; only message in thread
From: Saurav Girepunje @ 2021-10-31 18:51 UTC (permalink / raw)
To: Larry.Finger, phil, gregkh, straube.linux, saurav.girepunje,
linux-staging, linux-kernel
Cc: saurav.girepunje
Remove the break after the return statement. As function is return
break will never execute.
issue detected by checkpatch.pl
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
---
drivers/staging/r8188eu/hal/HalPwrSeqCmd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/r8188eu/hal/HalPwrSeqCmd.c b/drivers/staging/r8188eu/hal/HalPwrSeqCmd.c
index 0fd11aca7ac7..c88e10417100 100644
--- a/drivers/staging/r8188eu/hal/HalPwrSeqCmd.c
+++ b/drivers/staging/r8188eu/hal/HalPwrSeqCmd.c
@@ -83,7 +83,6 @@ u8 HalPwrSeqCmdParsing(struct adapter *padapter, u8 cut_vers, u8 fab_vers,
case PWR_CMD_END:
/* When this command is parsed, end the process */
return true;
- break;
default:
break;
}
--
2.33.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-31 18:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-31 18:51 [PATCH] staging: r8188eu: hal: break after the return not useful Saurav Girepunje
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®