diff options
-rw-r--r-- | include/device.h | 1 | ||||
-rw-r--r-- | src/device.c | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/include/device.h b/include/device.h index 81a5768b..24b852f6 100644 --- a/include/device.h +++ b/include/device.h @@ -58,7 +58,6 @@ struct connman_device *connman_device_ref(struct connman_device *device); void connman_device_unref(struct connman_device *device); enum connman_device_type connman_device_get_type(struct connman_device *device); -const char *connman_device_get_name(struct connman_device *device); 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, diff --git a/src/device.c b/src/device.c index a28a7bca..045caf3f 100644 --- a/src/device.c +++ b/src/device.c @@ -538,17 +538,6 @@ enum connman_device_type connman_device_get_type(struct connman_device *device) } /** - * connman_device_get_name: - * @device: device structure - * - * Get unique name of device - */ -const char *connman_device_get_name(struct connman_device *device) -{ - return device->element.name; -} - -/** * connman_device_set_index: * @device: device structure * @index: index number |