summaryrefslogtreecommitdiff
path: root/src/ipconfig.c
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2011-02-25 01:02:23 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-02-25 01:02:23 +0100
commit1d57f11bf173252ab2404a441cc7c5e6d434dd60 (patch)
treef1af15bff135fd2484f9a9525e166b8ad56b0660 /src/ipconfig.c
parent0161f3af0f8e44ad9a6f9f9d867c0dfcb8bb45c3 (diff)
downloadconnman-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.c19
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)