summaryrefslogtreecommitdiff
path: root/src/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.c')
-rw-r--r--src/network.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/network.c b/src/network.c
index 1fa62ee4..95b4d4a9 100644
--- a/src/network.c
+++ b/src/network.c
@@ -683,15 +683,11 @@ err:
static void dhcp_failure(struct connman_network *network)
{
struct connman_service *service;
- struct connman_ipconfig *ipconfig_ipv4;
service = __connman_service_lookup_from_network(network);
if (service == NULL)
return;
- ipconfig_ipv4 = __connman_service_get_ip4config(service);
- __connman_ipconfig_address_remove(ipconfig_ipv4);
-
__connman_service_indicate_state(service, CONNMAN_SERVICE_STATE_IDLE,
CONNMAN_IPCONFIG_TYPE_IPV4);
}