From b82e58f259baa6e29978cef56cb3e1fad1e4d34c Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 6 Nov 2010 20:15:49 +0100 Subject: [PATCH] Remove unused connman_device_get_control function --- include/device.h | 1 - src/device.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/include/device.h b/include/device.h index 24b852f..f8bd84e 100644 --- a/include/device.h +++ b/include/device.h @@ -62,7 +62,6 @@ void connman_device_set_index(struct connman_device *device, int index); int connman_device_get_index(struct connman_device *device); void connman_device_set_interface(struct connman_device *device, const char *interface, const char *control); -const char *connman_device_get_control(struct connman_device *device); void connman_device_set_ident(struct connman_device *device, const char *ident); diff --git a/src/device.c b/src/device.c index 045caf3..2912917 100644 --- a/src/device.c +++ b/src/device.c @@ -599,11 +599,6 @@ void connman_device_set_interface(struct connman_device *device, } } -const char *connman_device_get_control(struct connman_device *device) -{ - return device->control; -} - /** * connman_device_set_ident: * @device: device structure -- 2.7.4