OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ae8f2
)
proximity: Remove unused variable
author
Anderson Lizardo
<anderson.lizardo@openbossa.org>
Wed, 8 Feb 2012 16:12:50 +0000
(12:12 -0400)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Thu, 9 Feb 2012 10:46:16 +0000
(12:46 +0200)
proximity/reporter.c
patch
|
blob
|
history
diff --git
a/proximity/reporter.c
b/proximity/reporter.c
index
737faf9
..
9777574
100644
(file)
--- a/
proximity/reporter.c
+++ b/
proximity/reporter.c
@@
-50,8
+50,6
@@
enum {
HIGH_ALERT = 0x02,
};
-static uint16_t tx_power_handle;
-
static void register_link_loss(struct btd_adapter *adapter)
{
uint16_t start_handle, h;
@@
-123,7
+121,6
@@
static void register_tx_power(struct btd_adapter *adapter)
/* Power level value */
bt_uuid16_create(&uuid, POWER_LEVEL_CHR_UUID);
att_put_u8(0x00, &atval[0]);
- tx_power_handle = h;
attrib_db_add(adapter, h++, &uuid, ATT_NONE, ATT_NOT_PERMITTED, atval, 1);
/* Client characteristic configuration */