From 2c71282f166d04372d9b0ede14f81b9782fa7040 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= Date: Thu, 10 Feb 2022 23:03:05 +0100 Subject: [PATCH] spa: bluez: remove unused function The `add_dict` function has not been used since 9785d998213fdb32a91c9d22c214f22b72d74120. Remove it. --- spa/plugins/bluez5/bluez5-dbus.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spa/plugins/bluez5/bluez5-dbus.c b/spa/plugins/bluez5/bluez5-dbus.c index 92d47a8d2..d70893534 100644 --- a/spa/plugins/bluez5/bluez5-dbus.c +++ b/spa/plugins/bluez5/bluez5-dbus.c @@ -425,12 +425,6 @@ static void register_battery_provider(struct spa_bt_device *device) } } -static inline void add_dict(struct spa_pod_builder *builder, const char *key, const char *val) -{ - spa_pod_builder_string(builder, key); - spa_pod_builder_string(builder, val); -} - static int a2dp_codec_to_endpoint(const struct a2dp_codec *codec, const char * endpoint, char** object_path)