summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2014-07-02 13:07:00 +0200
committerThomas Haller <thaller@redhat.com>2014-07-02 13:08:23 +0200
commit0ce2d2618c536bdf46f93ec14f06dd1c6d46fa41 (patch)
treebf86ee58c17fbe217fba0a4a8dfbc6e5ec6feb58
parentca2e2a7ec8adcd430c4ddd5e21783c48512dc64c (diff)
downloadNetworkManager-0ce2d2618c536bdf46f93ec14f06dd1c6d46fa41.tar.gz
core: remove unused @state variable from nm_device_activate_schedule_stage3_ip_config_start()
Fixes: 5affa446aa73eff28f4f20ab5037a5f3921fda34 Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/devices/nm-device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
index 15f8b967d6..0fc5e26c61 100644
--- a/src/devices/nm-device.c
+++ b/src/devices/nm-device.c
@@ -4127,7 +4127,6 @@ nm_device_activate_schedule_stage3_ip_config_start (NMDevice *self)
NMDevicePrivate *priv;
NMConnection *connection;
NMSettingConnection *s_con = NULL;
- NMDeviceState state;
const char *zone;
g_return_if_fail (NM_IS_DEVICE (self));
@@ -4135,8 +4134,6 @@ nm_device_activate_schedule_stage3_ip_config_start (NMDevice *self)
priv = NM_DEVICE_GET_PRIVATE (self);
g_return_if_fail (priv->act_request);
- state = nm_device_get_state (self);
-
/* Add the interface to the specified firewall zone */
connection = nm_device_get_connection (self);
g_assert (connection);