Remove unused connman_device_get_name function
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Nov 2010 19:14:07 +0000 (20:14 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 6 Nov 2010 19:14:07 +0000 (20:14 +0100)
include/device.h
src/device.c

index 81a5768..24b852f 100644 (file)
@@ -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,
index a28a7bc..045caf3 100644 (file)
@@ -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