[PATCH BlueZ v0 31/62] lib: Remove bt_put_be64()

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

 



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

diff --git a/lib/bluetooth.h b/lib/bluetooth.h
index 20407d7..57ac7b5 100644
--- a/lib/bluetooth.h
+++ b/lib/bluetooth.h
@@ -171,23 +171,6 @@ do {						\
 	__p->__v = (val);			\
 } while(0)
 
-#if __BYTE_ORDER == __LITTLE_ENDIAN
-static inline void bt_put_be64(uint64_t val, const void *ptr)
-{
-	bt_put_unaligned(bswap_64(val), (uint64_t *) ptr);
-}
-
-#elif __BYTE_ORDER == __BIG_ENDIAN
-
-static inline void bt_put_be64(uint64_t val, const void *ptr)
-{
-	bt_put_unaligned(val, (uint64_t *) ptr);
-}
-
-#else
-#error "Unknown byte order"
-#endif
-
 /* BD Address */
 typedef struct {
 	uint8_t b[6];
-- 
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