Skip to content

Commit

Permalink
[nrf fromlist] net: wifi: shell: Remove redundant break
Browse files Browse the repository at this point in the history
Having a `break` statement after `return` is redundant and
needs to be removed.

Upstream PR: zephyrproject-rtos/zephyr#71319

Signed-off-by: Ravi Dondaputi <[email protected]>
  • Loading branch information
rado17 authored and rlubos committed Apr 16, 2024
1 parent 57e7884 commit 700870d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion subsys/net/l2/wifi/wifi_shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,6 @@ static int __wifi_args_to_params(const struct shell *sh, size_t argc, char *argv
break;
case 'h':
return -ENOEXEC;
break;
default:
PR_ERROR("Invalid option %c\n", opt);
shell_help(sh);
Expand Down

0 comments on commit 700870d

Please sign in to comment.