wiphy: Remove pointless check
wiphy->name is always true since the name member is an array
This commit is contained in:
parent
74e1b85e54
commit
4703dd5200
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue