diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2013-11-05 15:18:46 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-11-06 10:07:47 +0200 |
commit | 81c0c34ef6020120517bb6628e7501b3e9c4a0dd (patch) | |
tree | 48b7e9a51fab88c45ed15332d5e3a6dd531715b8 /android | |
parent | 9d89bb121bfaf0198ebff724e28f946789d88e04 (diff) | |
download | bluez-81c0c34ef6020120517bb6628e7501b3e9c4a0dd.tar.gz |
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.
Diffstat (limited to 'android')
-rw-r--r-- | android/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
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(""); |