Bluetooth: Audio: Removed unused cmd_mcc_ots functions

The functions were not used, and MCC doen not use OTS, but
rather OTC.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2022-10-14 14:05:10 +02:00 committed by Carles Cufí
commit abef3d3001

View file

@ -1759,57 +1759,8 @@ static int cmd_mcc_otc_read_current_group_object(const struct shell *sh,
}
return result;
}
static int cmd_mcc_ots_select_first(const struct shell *sh, size_t argc,
char *argv[])
{
int result;
result = bt_ots_client_select_first(0, default_conn);
if (result) {
shell_error(sh, "Fail: %d", result);
}
return result;
}
static int cmd_mcc_ots_select_last(const struct shell *sh, size_t argc,
char *argv[])
{
int result;
result = bt_ots_client_select_last(0, default_conn);
if (result) {
shell_error(sh, "Fail: %d", result);
}
return result;
}
static int cmd_mcc_ots_select_next(const struct shell *sh, size_t argc,
char *argv[])
{
int result;
result = bt_ots_client_select_next(0, default_conn);
if (result) {
shell_error(sh, "Fail: %d", result);
}
return result;
}
static int cmd_mcc_ots_select_prev(const struct shell *sh, size_t argc,
char *argv[])
{
int result;
result = bt_ots_client_select_prev(0, default_conn);
if (result) {
shell_error(sh, "Fail: %d", result);
}
return result;
}
#endif /* CONFIG_BT_MCC_OTS */
static int cmd_mcc(const struct shell *sh, size_t argc, char **argv)
{
shell_error(sh, "%s unknown parameter: %s", argv[0], argv[1]);