Skip to content

Commit d69fb6b

Browse files
rado17cvinayak
authored andcommitted
[nrf fromtree] net: wifi: shell: Remove redundant break
Having a `break` statement after `return` is redundant and needs to be removed. Signed-off-by: Ravi Dondaputi <[email protected]> (cherry picked from commit 0e617a3)
1 parent 6f9ee12 commit d69fb6b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

subsys/net/l2/wifi/wifi_shell.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,6 @@ static int __wifi_args_to_params(const struct shell *sh, size_t argc, char *argv
565565
break;
566566
case 'h':
567567
return -ENOEXEC;
568-
break;
569568
default:
570569
PR_ERROR("Invalid option %c\n", opt);
571570
shell_help(sh);

0 commit comments

Comments
 (0)