diff options
author | Thomas Haller <thaller@redhat.com> | 2020-09-07 23:36:00 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-09-11 10:45:36 +0200 |
commit | 1001dca6983e032042c609223934558cd551190c (patch) | |
tree | 35c572473ee5abea506f6b897a78a00fcd252d71 | |
parent | 75ff7a6daf705957d91054ae435f57b49a2437cc (diff) | |
download | NetworkManager-1001dca6983e032042c609223934558cd551190c.tar.gz |
device: remove unused dhcp4.root_path field
-rw-r--r-- | src/devices/nm-device.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 832116bd05..b7a9df1103 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -537,7 +537,6 @@ typedef struct _NMDevicePrivate { /* DHCPv4 tracking */ struct { char * pac_url; - char * root_path; } dhcp4; struct { @@ -8310,7 +8309,6 @@ dhcp4_cleanup (NMDevice *self, CleanupType cleanup_type, gboolean release) nm_clear_g_source (&priv->dhcp_data_4.grace_id); priv->dhcp_data_4.grace_pending = FALSE; nm_clear_g_free (&priv->dhcp4.pac_url); - nm_clear_g_free (&priv->dhcp4.root_path); if (priv->dhcp_data_4.client) { /* Stop any ongoing DHCP transaction on this device */ @@ -8755,9 +8753,6 @@ dhcp4_state_changed (NMDhcpClient *client, priv->dhcp4.pac_url = g_strdup (g_hash_table_lookup (options, "wpad")); nm_device_set_proxy_config (self, priv->dhcp4.pac_url); - g_free (priv->dhcp4.root_path); - priv->dhcp4.root_path = g_strdup (g_hash_table_lookup (options, "root_path")); - nm_dhcp_config_set_options (priv->dhcp_data_4.config, options); _notify (self, PROP_DHCP4_CONFIG); |