summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/device.h1
-rw-r--r--src/device.c11
2 files changed, 0 insertions, 12 deletions
diff --git a/include/device.h b/include/device.h
index 3ef80425..e2f1686c 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 4a4d2e8b..a7e4a2c7 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