OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ade544b
)
HH: Remove redundant assignment
author
Myles Watson
<mylesgw@google.com>
Wed, 3 Feb 2021 01:40:47 +0000
(17:40 -0800)
committer
Myles Watson
<mylesgw@google.com>
Wed, 3 Feb 2021 01:40:47 +0000
(17:40 -0800)
Bug:
179111866
Test: compilation
Change-Id: Iff38f618060272c0e8fab9009a8cf6235ab03a97
btif/src/btif_hh.cc
patch
|
blob
|
history
diff --git
a/btif/src/btif_hh.cc
b/btif/src/btif_hh.cc
index
5c7b764
..
4c5af6a
100644
(file)
--- a/
btif/src/btif_hh.cc
+++ b/
btif/src/btif_hh.cc
@@
-1370,7
+1370,7
@@
static bt_status_t set_idle_time(RawAddress* bd_addr, uint8_t idle_time) {
return BT_STATUS_FAIL;
}
- btif_hh_device_t* p_dev =
p_dev =
btif_hh_find_connected_dev_by_bda(*bd_addr);
+ btif_hh_device_t* p_dev = btif_hh_find_connected_dev_by_bda(*bd_addr);
if (p_dev == NULL) {
BTIF_TRACE_WARNING("%s: addr = %s not opened", __func__,
bd_addr->ToString().c_str());