--- attrib/att.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/attrib/att.h b/attrib/att.h index 35281e5..46bd253 100644 --- a/attrib/att.h +++ b/attrib/att.h @@ -112,12 +112,6 @@ struct att_range { }; /* These functions do byte conversion */ -static inline uint16_t att_get_u16(const void *ptr) -{ - const uint16_t *u16_ptr = ptr; - return btohs(bt_get_unaligned(u16_ptr)); -} - static inline uint128_t att_get_u128(const void *ptr) { const uint128_t *u128_ptr = 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