mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 05:50:08 +01:00
ifcfg-rh: remove another unused variable in parse_ethtool_option()
(cherry picked from commit 58fc4381ff)
This commit is contained in:
parent
77f43defbe
commit
2631174d4e
1 changed files with 0 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue