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:
6adb76f
)
adapter: Remove not needed variable from btd_adapter_get_mode
author
Szymon Janc
<szymon.janc@tieto.com>
Mon, 19 Nov 2012 15:02:42 +0000
(16:02 +0100)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Mon, 19 Nov 2012 18:31:51 +0000
(20:31 +0200)
address is no longer used and can be removed.
src/adapter.c
patch
|
blob
|
history
diff --git
a/src/adapter.c
b/src/adapter.c
index
9ecc0fa
..
d208cfa
100644
(file)
--- a/
src/adapter.c
+++ b/
src/adapter.c
@@
-2180,10
+2180,6
@@
void btd_adapter_get_mode(struct btd_adapter *adapter, uint8_t *mode,
uint16_t *discoverable_timeout,
gboolean *pairable)
{
- char address[18];
-
- ba2str(&adapter->bdaddr, address);
-
if (mode)
*mode = adapter->mode;