summaryrefslogtreecommitdiffstats
path: root/bta/jv
diff options
context:
space:
mode:
authorSharvil Nanavati <sharvil@google.com>2014-06-06 00:18:40 -0700
committerPrerepa Viswanadham <dham@google.com>2014-06-12 14:10:14 -0700
commita14e2a014660460401a732abb017af1291ab89aa (patch)
treed65b386c553ce98956efe5eba3c59136fdea7e3f /bta/jv
parent1628d79747b33b5b655ef813ee133fbc322a5991 (diff)
downloadandroid_system_bt-a14e2a014660460401a732abb017af1291ab89aa.tar.gz
android_system_bt-a14e2a014660460401a732abb017af1291ab89aa.tar.bz2
android_system_bt-a14e2a014660460401a732abb017af1291ab89aa.zip
Eliminate dead code: remove GKI_sched* from the codebase.
Change-Id: I607bd3bf88ef8847c8a7e984a54eabedd4fb7516 Conflicts: bta/hf_client/bta_hf_client_api.c bta/hf_client/bta_hf_client_main.c
Diffstat (limited to 'bta/jv')
-rw-r--r--bta/jv/bta_jv_api.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bta/jv/bta_jv_api.c b/bta/jv/bta_jv_api.c
index ad0b694e0..c91eacf00 100644
--- a/bta/jv/bta_jv_api.c
+++ b/bta/jv/bta_jv_api.c
@@ -74,9 +74,7 @@ tBTA_JV_STATUS BTA_JvEnable(tBTA_JV_DM_CBACK *p_cback)
}
/* register with BTA system manager */
- GKI_sched_lock();
bta_sys_register(BTA_ID_JV, &bta_jv_reg);
- GKI_sched_unlock();
if (p_cback && (p_buf = (tBTA_JV_API_ENABLE *) GKI_getbuf(sizeof(tBTA_JV_API_ENABLE))) != NULL)
{