diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-25 01:02:23 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-02-25 01:02:23 +0100 |
commit | 1d57f11bf173252ab2404a441cc7c5e6d434dd60 (patch) | |
tree | f1af15bff135fd2484f9a9525e166b8ad56b0660 /src/ipconfig.c | |
parent | 0161f3af0f8e44ad9a6f9f9d867c0dfcb8bb45c3 (diff) | |
download | connman-1d57f11bf173252ab2404a441cc7c5e6d434dd60.tar.gz connman-1d57f11bf173252ab2404a441cc7c5e6d434dd60.tar.bz2 connman-1d57f11bf173252ab2404a441cc7c5e6d434dd60.zip |
ipconfig: Remove connman_ipconfig_bind
This routine is unused.
Diffstat (limited to 'src/ipconfig.c')
-rw-r--r-- | src/ipconfig.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/ipconfig.c b/src/ipconfig.c index 4cf49224..12e297ac 100644 --- a/src/ipconfig.c +++ b/src/ipconfig.c @@ -1336,25 +1336,6 @@ enum connman_ipconfig_method __connman_ipconfig_get_method(struct connman_ipconf return ipconfig->method; } -/** - * connman_ipconfig_bind: - * @ipconfig: ipconfig structure - * @ipaddress: ipaddress structure - * - * Bind IP address details to configuration - */ -void connman_ipconfig_bind(struct connman_ipconfig *ipconfig, - struct connman_ipaddress *ipaddress) -{ - struct connman_ipconfig *origin; - - origin = ipconfig->origin ? ipconfig->origin : ipconfig; - - connman_ipaddress_copy(origin->address, ipaddress); - - connman_inet_set_address(origin->index, origin->address); -} - void __connman_ipconfig_set_element_ipv6_gateway( struct connman_ipconfig *ipconfig, struct connman_element *element) |