--- lib/bluetooth.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/bluetooth.h b/lib/bluetooth.h index eb623cc..aa959ef 100644 --- a/lib/bluetooth.h +++ b/lib/bluetooth.h @@ -182,11 +182,6 @@ static inline void bt_put_be32(uint32_t val, const void *ptr) bt_put_unaligned(bswap_32(val), (uint32_t *) ptr); } -static inline void bt_put_be16(uint16_t val, const void *ptr) -{ - bt_put_unaligned(bswap_16(val), (uint16_t *) ptr); -} - #elif __BYTE_ORDER == __BIG_ENDIAN static inline void bt_put_be64(uint64_t val, const void *ptr) @@ -199,10 +194,6 @@ static inline void bt_put_be32(uint32_t val, const void *ptr) bt_put_unaligned(val, (uint32_t *) ptr); } -static inline void bt_put_be16(uint16_t val, const void *ptr) -{ - bt_put_unaligned(val, (uint16_t *) ptr); -} #else #error "Unknown byte order" #endif -- 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