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:
Konstantin Kharlamov 2021-07-05 23:57:35 +03:00
parent 6f39e13f11
commit 8c013b8183

View file

@ -208,9 +208,6 @@ static void pw_properties_from_avahi_string(const char *key, const char *value,
else if (spa_streq(key, "icon-name")) {
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")) {
pw_properties_set(props, PW_KEY_DEVICE_PRODUCT_NAME, value);
}