mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-01 16:22:44 +01:00
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;
|
struct wiphy *wiphy = user_data;
|
||||||
|
|
||||||
if (!wiphy->name)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
l_dbus_message_builder_append_basic(builder, 's', wiphy->name);
|
l_dbus_message_builder_append_basic(builder, 's', wiphy->name);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user