From 8188b49bed7be08e23abcf92b098f62c1fc5c2ec Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Fri, 12 Aug 2022 14:22:52 +0200 Subject: [PATCH] backend-native: Remove uninformative "Profile unavailable" debug message This message would print for all transports while not even conveying the profile of the transport, and might be printed for non-`HFP_HF` profiles which is the only transport-profile we're interested in. Part-of: --- src/modules/bluetooth/backend-native.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/bluetooth/backend-native.c b/src/modules/bluetooth/backend-native.c index 1e366acf8..bda9c7fa0 100644 --- a/src/modules/bluetooth/backend-native.c +++ b/src/modules/bluetooth/backend-native.c @@ -822,7 +822,6 @@ static int get_rfcomm_fd(pa_bluetooth_discovery *discovery) { while ((t = pa_hashmap_iterate(pa_bluetooth_discovery_get_transports(discovery), &state, NULL))) { /* Skip non-connected transports */ if (!t || t->state == PA_BLUETOOTH_TRANSPORT_STATE_DISCONNECTED) { - pa_log_debug("Profile disconnected or unavailable"); continue; }