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:
Ravi Dondaputi 2024-04-15 17:45:02 +05:30 committed by Carles Cufí
parent 72c81eec3b
commit 0e617a3929

View file

@ -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);