From 5b8e91547f5d38c90cb760d160d4aa6ff684e4a0 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 18 Oct 2013 14:02:07 +0300 Subject: [PATCH] android: Remove unused bt_adapter_start/stop functions --- android/adapter.c | 16 ---------------- android/adapter.h | 3 --- 2 files changed, 19 deletions(-) diff --git a/android/adapter.c b/android/adapter.c index 3f79bcd0e..c3bfa21dc 100644 --- a/android/adapter.c +++ b/android/adapter.c @@ -40,19 +40,6 @@ struct bt_adapter { extern struct bt_adapter *default_adapter; -void bt_adapter_start(struct bt_adapter *adapter) -{ - DBG(""); - - /* TODO: CB: report scan mode */ - /* TODO: CB: report state on */ -} - -void bt_adapter_stop(struct bt_adapter *adapter) -{ - DBG(""); -} - static void load_link_keys_complete(uint8_t status, uint16_t length, const void *param, void *user_data) { @@ -115,9 +102,6 @@ static void read_info_complete(uint8_t status, uint16_t length, const void *para /* TODO: Register all event notification handlers */ - if (adapter->current_settings & MGMT_SETTING_POWERED) - bt_adapter_start(adapter); - load_link_keys(adapter, NULL); return; diff --git a/android/adapter.h b/android/adapter.h index 0f1445aa1..6ab0cd6c1 100644 --- a/android/adapter.h +++ b/android/adapter.h @@ -31,6 +31,3 @@ struct bt_adapter; struct bt_adapter *bt_adapter_new(uint16_t index, struct mgmt *mgmt_if); - -void bt_adapter_start(struct bt_adapter *adapter); -void bt_adapter_stop(struct bt_adapter *adapter); -- 2.11.0