Diff between 86bad5d9865ef5459ba27d77851daeeea2d97c2a and 0ac390e3bb971ac32030c804090f1d575f02c7e3

Changed Files

File Additions Deletions Status
android/hal-handsfree.c +0 -2 modified

Full Patch

diff --git a/android/hal-handsfree.c b/android/hal-handsfree.c
index 2834c80..8b644f3 100644
--- a/android/hal-handsfree.c
+++ b/android/hal-handsfree.c
@@ -466,8 +466,6 @@ static bt_status_t stop_voice_recognition_real(bt_bdaddr_t *bd_addr)
 	if (bd_addr)
 		memcpy(cmd.bdaddr, bd_addr, sizeof(cmd.bdaddr));
 
-	memcpy(cmd.bdaddr, bd_addr, sizeof(cmd.bdaddr));
-
 	return hal_ipc_cmd(HAL_SERVICE_ID_HANDSFREE, HAL_OP_HANDSFREE_STOP_VR,
 					sizeof(cmd), &cmd, NULL, NULL, NULL);
 }