net: wifi: shell: Remove redundant break
Having a `break` statement after `return` is redundant and needs to be removed. Signed-off-by: Ravi Dondaputi <ravi.dondaputi@nordicsemi.no>
This commit is contained in:
parent
72c81eec3b
commit
0e617a3929
|
@ -565,7 +565,6 @@ static int __wifi_args_to_params(const struct shell *sh, size_t argc, char *argv
|
||||||
break;
|
break;
|
||||||
case 'h':
|
case 'h':
|
||||||
return -ENOEXEC;
|
return -ENOEXEC;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
PR_ERROR("Invalid option %c\n", opt);
|
PR_ERROR("Invalid option %c\n", opt);
|
||||||
shell_help(sh);
|
shell_help(sh);
|
||||||
|
|
Loading…
Reference in a new issue