From 281444d2d0cd2ac502dce7113507b9a6d17eff2d Mon Sep 17 00:00:00 2001 From: Ji-hoon Lee Date: Fri, 18 Oct 2019 20:56:25 +0900 Subject: [PATCH] Remove unused function Change-Id: I69c58da17fab5434c8350a6508acdbce6dc3e6ab --- client/ma.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/client/ma.c b/client/ma.c index c5b0cf4..ae5ff0b 100644 --- a/client/ma.c +++ b/client/ma.c @@ -1638,18 +1638,6 @@ int ma_assistant_info_get_enabled_status(ma_assistant_info_h handle, bool* statu return MA_ERROR_NONE; } -int ma_assistant_info_get_name(ma_assistant_info_h handle, char** name) { - if (0 != __ma_get_feature_enabled()) { - return MA_ERROR_NOT_SUPPORTED; - } - - if (NULL == handle || NULL == name) - return MA_ERROR_INVALID_PARAMETER; - assistant_info_t* info = (assistant_info_t*)handle; - *name = (char*)info->name; - return MA_ERROR_NONE; -} - int ma_get_recording_audio_source_type(char** type) { if (0 != __ma_get_feature_enabled()) { return MA_ERROR_NOT_SUPPORTED; @@ -2017,4 +2005,4 @@ int ma_unset_preprocessing_result_received_cb(void) ma_client_set_preprocessing_result_received_cb(g_ma, NULL, NULL); return MA_ERROR_NONE; -} \ No newline at end of file +} -- 2.34.1