network: Remove ipconfig from the network structure
authorJukka Rissanen <jukka.rissanen@nokia.com>
Thu, 9 Dec 2010 11:11:46 +0000 (13:11 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 14 Dec 2010 13:59:34 +0000 (14:59 +0100)
This is not used at all.

src/network.c

index 49ffa73..6e205ab 100644 (file)
@@ -44,7 +44,6 @@ struct connman_network {
        char *name;
        char *node;
        char *group;
-       struct connman_ipconfig *ipconfig;
 
        struct connman_network_driver *driver;
        void *driver_data;
@@ -169,11 +168,6 @@ static void network_destruct(struct connman_element *element)
        g_free(network->address);
        g_free(network->identifier);
 
-       if (network->ipconfig) {
-               connman_ipconfig_unref(network->ipconfig);
-               network->ipconfig = NULL;
-       }
-
        network->device = NULL;
 }