From 509618d35b87da8fd1ed584628f19b4302f79931 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 1 Jan 2015 02:13:27 +0200 Subject: [PATCH] D-Bus: Remove useless NULL check from static function The entry argument cannot be NULL in this static function. Signed-off-by: Jouni Malinen --- wpa_supplicant/dbus/dbus_dict_helpers.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/wpa_supplicant/dbus/dbus_dict_helpers.c b/wpa_supplicant/dbus/dbus_dict_helpers.c index ee1d94aa6..98a82db74 100644 --- a/wpa_supplicant/dbus/dbus_dict_helpers.c +++ b/wpa_supplicant/dbus/dbus_dict_helpers.c @@ -951,8 +951,6 @@ static dbus_bool_t _wpa_dbus_dict_entry_get_array( DBusMessageIter iter_array; wpa_printf(MSG_MSGDUMP, "%s: array_type %c", __func__, array_type); - if (!entry) - return FALSE; dbus_message_iter_recurse(iter_dict_val, &iter_array);