Diff between cc106c726e926ec94c6295d1bdd437a56b4232f1 and eccd385e7634571041e3b87dcc600af34b3bfbe7

Changed Files

File Additions Deletions Status
profiles/audio/a2dp.c +0 -3 modified

Full Patch

diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 1d81bec..6df048d 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -1257,9 +1257,6 @@ void a2dp_unregister(const bdaddr_t *src)
 		remove_record_from_server(server->sink_record_id);
 
 	g_free(server);
-
-	if (servers)
-		return;
 }
 
 struct a2dp_sep *a2dp_add_sep(const bdaddr_t *src, uint8_t type,