mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 05:38:15 +02:00
trivial: remove unused tried_ipv6
This commit is contained in:
parent
fca1c0d88f
commit
19747082b2
1 changed files with 0 additions and 3 deletions
|
|
@ -3989,7 +3989,6 @@ nm_device_deactivate (NMDevice *self, NMDeviceStateReason reason)
|
||||||
NMDeviceStateReason ignored = NM_DEVICE_STATE_REASON_NONE;
|
NMDeviceStateReason ignored = NM_DEVICE_STATE_REASON_NONE;
|
||||||
NMConnection *connection = NULL;
|
NMConnection *connection = NULL;
|
||||||
NMSettingConnection *s_con = NULL;
|
NMSettingConnection *s_con = NULL;
|
||||||
gboolean tried_ipv6 = FALSE;
|
|
||||||
int ifindex;
|
int ifindex;
|
||||||
|
|
||||||
g_return_if_fail (NM_IS_DEVICE (self));
|
g_return_if_fail (NM_IS_DEVICE (self));
|
||||||
|
|
@ -3999,8 +3998,6 @@ nm_device_deactivate (NMDevice *self, NMDeviceStateReason reason)
|
||||||
|
|
||||||
/* Save whether or not we tried IPv6 for later */
|
/* Save whether or not we tried IPv6 for later */
|
||||||
priv = NM_DEVICE_GET_PRIVATE (self);
|
priv = NM_DEVICE_GET_PRIVATE (self);
|
||||||
if (priv->ip6_manager || priv->ip6_state == IP_DONE)
|
|
||||||
tried_ipv6 = TRUE;
|
|
||||||
|
|
||||||
/* Clean up when device was deactivated during call to firewall */
|
/* Clean up when device was deactivated during call to firewall */
|
||||||
if (priv->fw_call) {
|
if (priv->fw_call) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue