ifcfg-rh: remove another unused variable in parse_ethtool_option()

(cherry picked from commit 58fc4381ff)
This commit is contained in:
Thomas Haller 2015-10-20 17:42:59 +02:00
parent 77f43defbe
commit 2631174d4e

View file

@ -3511,7 +3511,6 @@ parse_ethtool_option (const char *value, NMSettingWiredWakeOnLan *out_flags, cha
{
gs_strfreev char **words = NULL;
const char **iter = NULL, *flag;
gboolean has_flags = FALSE;
if (!value || !value[0])
return;
@ -3541,7 +3540,6 @@ parse_ethtool_option (const char *value, NMSettingWiredWakeOnLan *out_flags, cha
if (is_wol) {
NMSettingWiredWakeOnLan wol_flags = NM_SETTING_WIRED_WAKE_ON_LAN_NONE;
has_flags = TRUE;
if (!iter[0]) {
PARSE_WARNING ("Wake-on-LAN options missing");