OSDN Git Service

core: Remove unused device_get_addr_type function
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Dec 2012 08:38:01 +0000 (10:38 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Dec 2012 08:38:01 +0000 (10:38 +0200)
src/device.c
src/device.h

index 8bfcb30..6a98645 100644 (file)
@@ -3398,11 +3398,6 @@ const bdaddr_t *device_get_address(struct btd_device *device)
        return &device->bdaddr;
 }
 
-uint8_t device_get_addr_type(struct btd_device *device)
-{
-       return device->bdaddr_type;
-}
-
 const gchar *device_get_path(struct btd_device *device)
 {
        if (!device)
index 44e47b9..3128615 100644 (file)
@@ -59,7 +59,6 @@ void device_probe_profile(gpointer a, gpointer b);
 void device_remove_profile(gpointer a, gpointer b);
 struct btd_adapter *device_get_adapter(struct btd_device *device);
 const bdaddr_t *device_get_address(struct btd_device *device);
-uint8_t device_get_addr_type(struct btd_device *device);
 const gchar *device_get_path(struct btd_device *device);
 gboolean device_is_bredr(struct btd_device *device);
 gboolean device_is_le(struct btd_device *device);