From: Samuel Ortiz Date: Fri, 25 Feb 2011 00:04:28 +0000 (+0100) Subject: ipconfig: Remove __connman_ipconfig_set_element_ipv6_gateway X-Git-Tag: 2.0_alpha~1685 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47f9d3e57e149cd752d2009c2d17f6c35264b61a;p=framework%2Fconnectivity%2Fconnman.git ipconfig: Remove __connman_ipconfig_set_element_ipv6_gateway This routine is unused. --- diff --git a/src/connman.h b/src/connman.h index f248280..a390516 100644 --- a/src/connman.h +++ b/src/connman.h @@ -257,10 +257,6 @@ void __connman_ipconfig_append_ethernet(struct connman_ipconfig *ipconfig, enum connman_ipconfig_method __connman_ipconfig_get_method( struct connman_ipconfig *ipconfig); -void __connman_ipconfig_set_element_ipv6_gateway( - struct connman_ipconfig *ipconfig, - struct connman_element *element); - int __connman_ipconfig_address_add(struct connman_ipconfig *ipconfig); int __connman_ipconfig_address_remove(struct connman_ipconfig *ipconfig); int __connman_ipconfig_gateway_add(struct connman_ipconfig *ipconfig); diff --git a/src/ipconfig.c b/src/ipconfig.c index 12e297a..d620383 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -1336,14 +1336,6 @@ enum connman_ipconfig_method __connman_ipconfig_get_method(struct connman_ipconf return ipconfig->method; } -void __connman_ipconfig_set_element_ipv6_gateway( - struct connman_ipconfig *ipconfig, - struct connman_element *element) -{ - if (ipconfig->type == CONNMAN_IPCONFIG_TYPE_IPV6) - element->ipv6.gateway = ipconfig->address->gateway; -} - int __connman_ipconfig_address_add(struct connman_ipconfig *ipconfig) { DBG("");