[PATCH 3/3] emulator/bthost: Remove empty bthost_stop function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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 104916b..2022e6b 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 62d415c..c0fa410 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 fcaeb70..c5bfa77 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);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux