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
1 changed files with 0 additions and 3 deletions

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;