From 0cedfa447243cfb984f17b6438851f7988ee7860 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Mon, 3 Nov 2014 17:20:56 +0100 Subject: [PATCH] emulator/bthost: Remove empty bthost_stop function --- emulator/bthost.c | 4 ---- emulator/bthost.h | 1 - emulator/hciemu.c | 2 -- 3 files changed, 7 deletions(-) diff --git a/emulator/bthost.c b/emulator/bthost.c index 104916bdc..2022e6b5c 100644 --- a/emulator/bthost.c +++ b/emulator/bthost.c @@ -2386,7 +2386,3 @@ void bthost_send_rfcomm_data(struct bthost *bthost, uint16_t handle, free(uih_frame); } - -void bthost_stop(struct bthost *bthost) -{ -} diff --git a/emulator/bthost.h b/emulator/bthost.h index 62d415c8c..c0fa41041 100644 --- a/emulator/bthost.h +++ b/emulator/bthost.h @@ -123,7 +123,6 @@ void bthost_send_rfcomm_data(struct bthost *bthost, uint16_t handle, uint16_t len); void bthost_start(struct bthost *bthost); -void bthost_stop(struct bthost *bthost); /* LE SMP support */ diff --git a/emulator/hciemu.c b/emulator/hciemu.c index fcaeb7092..c5bfa77dc 100644 --- a/emulator/hciemu.c +++ b/emulator/hciemu.c @@ -376,8 +376,6 @@ void hciemu_unref(struct hciemu *hciemu) queue_destroy(hciemu->post_command_hooks, destroy_command_hook); - bthost_stop(hciemu->host_stack); - g_source_remove(hciemu->host_source); g_source_remove(hciemu->client_source); g_source_remove(hciemu->master_source); -- 2.47.3