]> code.delx.au - pulseaudio/blobdiff - src/modules/bluetooth/module-bluetooth-device.c
card: Ensure that there's always at least one profile.
[pulseaudio] / src / modules / bluetooth / module-bluetooth-device.c
index 84f0e7212d650d8a05af5faae3755cb9ce44116c..06b4033e5897d4ab28dfd447663ae53e2a2ee492 100644 (file)
@@ -2852,8 +2852,6 @@ static int add_card(struct userdata *u, const pa_bluetooth_device *device) {
         return -1;
     }
 
-    data.profiles = pa_hashmap_new(pa_idxset_string_hash_func, pa_idxset_string_compare_func);
-
     /* we base hsp/a2dp availability on UUIDs.
        Ideally, it would be based on "Connected" state, but
        we can't afford to wait for this information when