From aef901e56c30723062f524605e8e9827764e9237 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 12 Jul 2009 00:26:41 -0700 Subject: [PATCH] Remove connman_device_get_interface() 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 3ef8042..e2f1686 100644 --- a/include/device.h +++ b/include/device.h @@ -71,7 +71,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 *connman_device_get_interface(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 4a4d2e8..a7e4a2c 100644 --- a/src/device.c +++ b/src/device.c @@ -1203,17 +1203,6 @@ void connman_device_set_interface(struct connman_device *device, } /** - * connman_device_get_interface: - * @device: device structure - * - * Get interface name of device - */ -const char *connman_device_get_interface(struct connman_device *device) -{ - return device->interface; -} - -/** * connman_device_set_ident: * @device: device structure * @ident: unique identifier -- 2.7.4