3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-18 10:19:24 +01:00

wiphy: Remove pointless check

wiphy->name is always true since the name member is an array
This commit is contained in:
Denis Kenzior 2017-03-07 11:23:54 -06:00
parent 74e1b85e54
commit 4703dd5200

View File

@ -721,9 +721,6 @@ static bool wiphy_property_get_name(struct l_dbus *dbus,
{
struct wiphy *wiphy = user_data;
if (!wiphy->name)
return false;
l_dbus_message_builder_append_basic(builder, 's', wiphy->name);
return true;