From 6b11bf71f32a3e752833e217ca1b413cbd380620 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 11 Feb 2021 12:17:00 +0100 Subject: [PATCH] media-session: remove unused code --- src/examples/media-session/bluez-monitor.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/examples/media-session/bluez-monitor.c b/src/examples/media-session/bluez-monitor.c index e8ca56f98..01bdcec51 100644 --- a/src/examples/media-session/bluez-monitor.c +++ b/src/examples/media-session/bluez-monitor.c @@ -333,23 +333,6 @@ static void bluez5_update_device(struct impl *impl, struct device *dev, pw_properties_update(dev->props, info->props); } -static void set_profile(struct device *device, int index) -{ - char buf[1024]; - struct spa_pod_builder b = SPA_POD_BUILDER_INIT(buf, sizeof(buf)); - - pw_log_debug("%p: set profile %d id:%d", device, index, device->device_id); - - device->profile = index; - if (device->device_id != 0) { - spa_device_set_param(device->device, - SPA_PARAM_Profile, 0, - spa_pod_builder_add_object(&b, - SPA_TYPE_OBJECT_ParamProfile, SPA_PARAM_Profile, - SPA_PARAM_PROFILE_index, SPA_POD_Int(index))); - } -} - static void device_destroy(void *data) { struct device *device = data;