mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 22:10:14 +01:00
ifcfg-rh: remove another unused variable in parse_ethtool_option()
This commit is contained in:
parent
f840d9465f
commit
58fc4381ff
1 changed files with 0 additions and 2 deletions
|
|
@ -3562,7 +3562,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;
|
||||
|
|
@ -3592,7 +3591,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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue