diff options
author | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-09-28 16:33:04 +0900 |
---|---|---|
committer | DoHyun Pyun <dh79.pyun@samsung.com> | 2016-09-28 16:33:24 +0900 |
commit | a8eae3ae4143ccdb95c8f61af4999813a8fdfe46 (patch) | |
tree | da707ff4afb8b9c6fdd538d0db2bce2ff883b77e | |
parent | ba0a9ec25d595cae8d9ee58ecb849a4cfffc54ec (diff) | |
download | bluetooth-a8eae3ae4143ccdb95c8f61af4999813a8fdfe46.tar.gz bluetooth-a8eae3ae4143ccdb95c8f61af4999813a8fdfe46.tar.bz2 bluetooth-a8eae3ae4143ccdb95c8f61af4999813a8fdfe46.zip |
Remove unused ipsp internal function
Change-Id: If755e44aa5196a290dfee86d81f758c4f0e97e29
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
-rw-r--r-- | include/mobile/bluetooth_internal.h | 6 | ||||
-rw-r--r-- | include/tv/bluetooth_internal.h | 6 | ||||
-rw-r--r-- | include/wearable/bluetooth_internal.h | 6 | ||||
-rw-r--r-- | src/bluetooth-ipsp.c | 8 | ||||
-rw-r--r-- | test/bt_unit_test.c | 6 |
5 files changed, 1 insertions, 31 deletions
diff --git a/include/mobile/bluetooth_internal.h b/include/mobile/bluetooth_internal.h index 6b2d4b4..a6d097e 100644 --- a/include/mobile/bluetooth_internal.h +++ b/include/mobile/bluetooth_internal.h @@ -3136,12 +3136,6 @@ int bt_ipsp_connect(const char *address); int bt_ipsp_disconnect(const char *address); /** -* @internal -* @brief Check whether IPSP service is initialized -*/ -int bt_ipsp_is_initialized(void); - -/** * @internal * @brief Set IPSP connection state event change callback. */ diff --git a/include/tv/bluetooth_internal.h b/include/tv/bluetooth_internal.h index 6b2d4b4..a6d097e 100644 --- a/include/tv/bluetooth_internal.h +++ b/include/tv/bluetooth_internal.h @@ -3136,12 +3136,6 @@ int bt_ipsp_connect(const char *address); int bt_ipsp_disconnect(const char *address); /** -* @internal -* @brief Check whether IPSP service is initialized -*/ -int bt_ipsp_is_initialized(void); - -/** * @internal * @brief Set IPSP connection state event change callback. */ diff --git a/include/wearable/bluetooth_internal.h b/include/wearable/bluetooth_internal.h index 5d7b648..291b0a0 100644 --- a/include/wearable/bluetooth_internal.h +++ b/include/wearable/bluetooth_internal.h @@ -3284,12 +3284,6 @@ int bt_ipsp_connect(const char *address); int bt_ipsp_disconnect(const char *address); /** -* @internal -* @brief Check whether IPSP service is initialized -*/ -int bt_ipsp_is_initialized(void); - -/** * @internal * @brief Set IPSP connection state event change callback. */ diff --git a/src/bluetooth-ipsp.c b/src/bluetooth-ipsp.c index 02b3577..bff3243 100644 --- a/src/bluetooth-ipsp.c +++ b/src/bluetooth-ipsp.c @@ -54,14 +54,6 @@ int __bt_check_ipsp_init_status(void) return BT_ERROR_NONE; } -int bt_ipsp_is_initialized(void) -{ - BT_CHECK_IPSP_SUPPORT(); - BT_CHECK_INIT_STATUS(); - BT_CHECK_IPSP_INIT_STATUS(); - return BT_ERROR_NONE; -} - int bt_ipsp_initialize(bt_ipsp_init_state_changed_cb callback, void *user_data) { diff --git a/test/bt_unit_test.c b/test/bt_unit_test.c index c67f002..d9c23d4 100644 --- a/test/bt_unit_test.c +++ b/test/bt_unit_test.c @@ -7840,11 +7840,7 @@ int test_input_callback(void *data) break; case BT_UNIT_TEST_FUNCTION_IPSP_START_ADVERTISING: { const char *ipsp_svc_uuid_16 = "1820"; - ret = bt_ipsp_is_initialized(); - if (ret != BT_ERROR_NONE) { - TC_PRT("bt_le_ipsp_add_advertising_data: returns %s\n", __bt_get_error_message(ret)); - break; - } + /* Add IPSP service in advertising data */ advertiser = advertiser_list[advertiser_index]; if (advertiser == NULL) { |