diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-11-06 20:18:29 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-11-06 20:18:29 +0100 |
commit | 7739bbaee2eb71ccd7ff4a4799a18dc130069eaf (patch) | |
tree | 85c8395663a174061c9bb3e54f8737ea8884a261 /src/inet.c | |
parent | b82e58f259baa6e29978cef56cb3e1fad1e4d34c (diff) | |
download | connman-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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |