From: Anderson Lizardo <anderson.lizardo@openbossa.org>
To: linux-bluetooth@vger.kernel.org
Cc: Anderson Lizardo <anderson.lizardo@openbossa.org>
Subject: [PATCH BlueZ] proximity: Remove unused variable
Date: Wed, 8 Feb 2012 12:12:50 -0400 [thread overview]
Message-ID: <1328717570-19343-1-git-send-email-anderson.lizardo@openbossa.org> (raw)
---
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
next reply other threads:[~2012-02-08 16:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-08 16:12 Anderson Lizardo [this message]
2012-02-09 10:46 ` [PATCH BlueZ] proximity: Remove unused variable Johan Hedberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1328717570-19343-1-git-send-email-anderson.lizardo@openbossa.org \
--to=anderson.lizardo@openbossa.org \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).