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);