summaryrefslogtreecommitdiff
path: root/src/inet.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-11-06 20:18:29 +0100
committerMarcel Holtmann <marcel@holtmann.org>2010-11-06 20:18:29 +0100
commit7739bbaee2eb71ccd7ff4a4799a18dc130069eaf (patch)
tree85c8395663a174061c9bb3e54f8737ea8884a261 /src/inet.c
parentb82e58f259baa6e29978cef56cb3e1fad1e4d34c (diff)
downloadconnman-7739bbaee2eb71ccd7ff4a4799a18dc130069eaf.tar.gz
connman-7739bbaee2eb71ccd7ff4a4799a18dc130069eaf.tar.bz2
connman-7739bbaee2eb71ccd7ff4a4799a18dc130069eaf.zip
Remove unused device->control value
Diffstat (limited to 'src/inet.c')
-rw-r--r--src/inet.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/inet.c b/src/inet.c
index fde95923..f6b80199 100644
--- a/src/inet.c
+++ b/src/inet.c
@@ -447,7 +447,7 @@ struct connman_device *connman_inet_create_device(int index)
enum connman_device_type type;
struct connman_device *device;
char *devname, *ident = NULL;
- char *addr = NULL, *name = NULL, *node = NULL;
+ char *addr = NULL, *name = NULL;
if (index < 0)
return NULL;
@@ -506,7 +506,7 @@ struct connman_device *connman_inet_create_device(int index)
}
connman_device_set_index(device, index);
- connman_device_set_interface(device, devname, node);
+ connman_device_set_interface(device, devname);
if (ident != NULL) {
connman_device_set_ident(device, ident);
@@ -517,7 +517,6 @@ struct connman_device *connman_inet_create_device(int index)
done:
g_free(devname);
- g_free(node);
free(name);
free(addr);