From f97d8d4712e9c0b32d4bcfd77e60b0a88e00232e Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 5 Nov 2010 16:42:27 +0100 Subject: [PATCH] Remove unused connman_device_get_path 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 4fdc7ed..81a5768 100644 --- a/include/device.h +++ b/include/device.h @@ -59,7 +59,6 @@ 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); -const char *connman_device_get_path(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 f1af675..a28a7bc 100644 --- a/src/device.c +++ b/src/device.c @@ -549,17 +549,6 @@ const char *connman_device_get_name(struct connman_device *device) } /** - * connman_device_get_path: - * @device: device structure - * - * Get path name of device - */ -const char *connman_device_get_path(struct connman_device *device) -{ - return device->element.path; -} - -/** * connman_device_set_index: * @device: device structure * @index: index number -- 2.7.4