From 81c0c34ef6020120517bb6628e7501b3e9c4a0dd Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Tue, 5 Nov 2013 15:18:46 +0100 Subject: android: Remove mgmt_version and mgmt_revision static variables There is no need to keep those as Android daemon is expecting new enough kernel to operate. --- android/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'android/main.c') diff --git a/android/main.c b/android/main.c index 7ee47fc5b..d68abe169 100644 --- a/android/main.c +++ b/android/main.c @@ -68,9 +68,6 @@ static GMainLoop *event_loop; static struct mgmt *mgmt_if = NULL; -static uint8_t mgmt_version = 0; -static uint8_t mgmt_revision = 0; - static uint16_t adapter_index = MGMT_INDEX_NONE; static guint adapter_timeout = 0; @@ -588,6 +585,7 @@ static void read_version_complete(uint8_t status, uint16_t length, const void *param, void *user_data) { const struct mgmt_rp_read_version *rp = param; + uint8_t mgmt_version, mgmt_revision; DBG(""); -- cgit v1.2.1