From abef3d30017c012ee3ed52a454e3975d77e17efd Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Fri, 14 Oct 2022 14:05:10 +0200 Subject: [PATCH] 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 --- subsys/bluetooth/shell/mcc.c | 49 ------------------------------------ 1 file changed, 49 deletions(-) diff --git a/subsys/bluetooth/shell/mcc.c b/subsys/bluetooth/shell/mcc.c index e12777a348f..d1d902030b7 100644 --- a/subsys/bluetooth/shell/mcc.c +++ b/subsys/bluetooth/shell/mcc.c @@ -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]);