Remove the unused code in Adapter Disable 24/79424/2 accepted/tizen/common/20160712.150449 accepted/tizen/ivi/20160711.235957 accepted/tizen/mobile/20160711.235631 accepted/tizen/tv/20160711.235851 accepted/tizen/wearable/20160711.235826 submit/tizen/20160711.100430
authorHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 11 Jul 2016 09:38:39 +0000 (18:38 +0900)
committerHyuk Lee <hyuk0512.lee@samsung.com>
Mon, 11 Jul 2016 09:55:31 +0000 (18:55 +0900)
Change-Id: I956ac1f4780181cd48e5cc52124f2be703819449
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
bt-service/bt-service-adapter.c

index 4e433ef..9b2f480 100644 (file)
@@ -1215,12 +1215,13 @@ int __bt_disable_cb(void)
 {
        FN_START;
        GDBusProxy *proxy;
-       bt_le_status_t le_status;
        int ret;
        GVariant *result;
        GError *error = NULL;
 
        _bt_adapter_set_status(BT_DEACTIVATING);
+#if 0
+       bt_le_status_t le_status;
        le_status = _bt_adapter_get_le_status();
        BT_DBG("le_status : %d", le_status);
        if (le_status == BT_LE_ACTIVATED) {
@@ -1240,7 +1241,7 @@ int __bt_disable_cb(void)
                        }
                }
        }
-
+#endif
        proxy = __bt_get_core_proxy();
        retv_if(!proxy, BLUETOOTH_ERROR_INTERNAL);