mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
modules: remove useless comparison in pw_properties_from_avahi_string
It doesn't do anything, let's just get rid of it.
This commit is contained in:
parent
6f39e13f11
commit
8c013b8183
1 changed files with 0 additions and 3 deletions
|
|
@ -208,9 +208,6 @@ static void pw_properties_from_avahi_string(const char *key, const char *value,
|
||||||
else if (spa_streq(key, "icon-name")) {
|
else if (spa_streq(key, "icon-name")) {
|
||||||
pw_properties_set(props, PW_KEY_DEVICE_ICON_NAME, value);
|
pw_properties_set(props, PW_KEY_DEVICE_ICON_NAME, value);
|
||||||
}
|
}
|
||||||
else if (spa_streq(key, "channel_map")) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
else if (spa_streq(key, "product-name")) {
|
else if (spa_streq(key, "product-name")) {
|
||||||
pw_properties_set(props, PW_KEY_DEVICE_PRODUCT_NAME, value);
|
pw_properties_set(props, PW_KEY_DEVICE_PRODUCT_NAME, value);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue