From 48359262a40e842e5a8628b4237831328989c9e4 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 2 Jul 2014 13:07:00 +0200 Subject: [PATCH] core: remove unused @state variable from nm_device_activate_schedule_stage3_ip_config_start() Fixes: 5affa446aa73eff28f4f20ab5037a5f3921fda34 Signed-off-by: Thomas Haller --- 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 513741f18e..4ae1185a00 100644 --- a/src/devices/nm-device.c +++ b/src/devices/nm-device.c @@ -4115,7 +4115,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)); @@ -4123,8 +4122,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);