This code does nothing. --- profiles/audio/a2dp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c index 8e9f626..aef998a 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, -- 1.8.0 -- 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