From 60405b19bed81ddc51f14e489943d3917199a9de Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 6 Nov 2010 20:14:07 +0100 Subject: [PATCH] Remove unused connman_device_get_name function --- include/device.h | 1 - src/device.c | 11 ----------- 2 files changed, 12 deletions(-) diff --git a/include/device.h b/include/device.h index 81a5768..24b852f 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 a28a7bc..045caf3 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 -- 2.7.4