linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ] proximity: Remove unused variable
@ 2012-02-08 16:12 Anderson Lizardo
  2012-02-09 10:46 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Anderson Lizardo @ 2012-02-08 16:12 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Anderson Lizardo

---
 proximity/reporter.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/proximity/reporter.c b/proximity/reporter.c
index 737faf9..9777574 100644
--- 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 */
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] proximity: Remove unused variable
  2012-02-08 16:12 [PATCH BlueZ] proximity: Remove unused variable Anderson Lizardo
@ 2012-02-09 10:46 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-02-09 10:46 UTC (permalink / raw)
  To: Anderson Lizardo; +Cc: linux-bluetooth

Hi Lizardo,

On Wed, Feb 08, 2012, Anderson Lizardo wrote:
> ---
>  proximity/reporter.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)

Applied. Thanks.

Johan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-09 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-08 16:12 [PATCH BlueZ] proximity: Remove unused variable Anderson Lizardo
2012-02-09 10:46 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).