diff --git a/subsys/bluetooth/shell/bt.c b/subsys/bluetooth/shell/bt.c index 35ce9243be9..7c4a630d580 100644 --- a/subsys/bluetooth/shell/bt.c +++ b/subsys/bluetooth/shell/bt.c @@ -144,7 +144,6 @@ static bool is_substring(const char *substr, const char *str) for (size_t pos = 0; pos < str_len; pos++) { if (tolower(substr[0]) == tolower(str[pos])) { if (pos + sub_str_len > str_len) { - shell_print(ctx_shell, "length fail"); return false; }