Remove connman_device_get_interface() function
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 12 Jul 2009 07:26:41 +0000 (00:26 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 12 Jul 2009 07:26:41 +0000 (00:26 -0700)
include/device.h
src/device.c

index 3ef8042..e2f1686 100644 (file)
@@ -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);
index 4a4d2e8..a7e4a2c 100644 (file)
@@ -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