mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 04:58:01 +02: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;
|
gs_strfreev char **words = NULL;
|
||||||
const char **iter = NULL, *flag;
|
const char **iter = NULL, *flag;
|
||||||
gboolean has_flags = FALSE;
|
|
||||||
|
|
||||||
if (!value || !value[0])
|
if (!value || !value[0])
|
||||||
return;
|
return;
|
||||||
|
|
@ -3541,7 +3540,6 @@ parse_ethtool_option (const char *value, NMSettingWiredWakeOnLan *out_flags, cha
|
||||||
|
|
||||||
if (is_wol) {
|
if (is_wol) {
|
||||||
NMSettingWiredWakeOnLan wol_flags = NM_SETTING_WIRED_WAKE_ON_LAN_NONE;
|
NMSettingWiredWakeOnLan wol_flags = NM_SETTING_WIRED_WAKE_ON_LAN_NONE;
|
||||||
has_flags = TRUE;
|
|
||||||
|
|
||||||
if (!iter[0]) {
|
if (!iter[0]) {
|
||||||
PARSE_WARNING ("Wake-on-LAN options missing");
|
PARSE_WARNING ("Wake-on-LAN options missing");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue