[PATCH BlueZ v0 25/62] lib: Remove bt_get_le64()

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

 



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

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index f045070..37fa04d 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -172,11 +172,6 @@ do {						\
 } while(0)
 
 #if __BYTE_ORDER == __LITTLE_ENDIAN
-static inline uint64_t bt_get_le64(const void *ptr)
-{
-	return bt_get_unaligned((const uint64_t *) ptr);
-}
-
 static inline uint64_t bt_get_be64(const void *ptr)
 {
 	return bswap_64(bt_get_unaligned((const uint64_t *) ptr));
@@ -208,10 +203,6 @@ static inline void bt_put_be16(uint16_t val, const void *ptr)
 }
 
 #elif __BYTE_ORDER == __BIG_ENDIAN
-static inline uint64_t bt_get_le64(const void *ptr)
-{
-	return bswap_64(bt_get_unaligned((const uint64_t *) ptr));
-}
 
 static inline uint64_t bt_get_be64(const void *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