[PATCH BlueZ v0 23/62] lib: Remove bt_get_le16()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 lib/bluetooth.h | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index a476180..58ad96a 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -192,11 +192,6 @@ static inline uint32_t bt_get_be32(const void *ptr)
 	return bswap_32(bt_get_unaligned((const uint32_t *) ptr));
 }
 
-static inline uint16_t bt_get_le16(const void *ptr)
-{
-	return bt_get_unaligned((const uint16_t *) ptr);
-}
-
 static inline uint16_t bt_get_be16(const void *ptr)
 {
 	return bswap_16(bt_get_unaligned((const uint16_t *) ptr));
@@ -238,11 +233,6 @@ static inline uint32_t bt_get_be32(const void *ptr)
 	return bt_get_unaligned((const uint32_t *) ptr);
 }
 
-static inline uint16_t bt_get_le16(const void *ptr)
-{
-	return bswap_16(bt_get_unaligned((const uint16_t *) ptr));
-}
-
 static inline uint16_t bt_get_be16(const void *ptr)
 {
 	return bt_get_unaligned((const uint16_t *) ptr);
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux