From 19747082b2c1923edababa330a4e194f41221029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Mon, 1 Jul 2013 12:47:52 +0200 Subject: [PATCH] trivial: remove unused tried_ipv6 --- src/devices/nm-device.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c index 424356a38c..d9d51c5d38 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -3989,7 +3989,6 @@ nm_device_deactivate (NMDevice *self, NMDeviceStateReason reason) NMDeviceStateReason ignored = NM_DEVICE_STATE_REASON_NONE; NMConnection *connection = NULL; NMSettingConnection *s_con = NULL; - gboolean tried_ipv6 = FALSE; int ifindex; 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 */ 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 */ if (priv->fw_call) {