--- tools/btsnoop.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tools/btsnoop.c b/tools/btsnoop.c index a65d8c5..260dfdb 100644 --- a/tools/btsnoop.c +++ b/tools/btsnoop.c @@ -40,19 +40,6 @@ #include "monitor/btsnoop.h" -static inline uint64_t ntoh64(uint64_t n) -{ - uint64_t h; - uint64_t tmp = ntohl(n & 0x00000000ffffffff); - - h = ntohl(n >> 32); - h |= tmp << 32; - - return h; -} - -#define hton64(x) ntoh64(x) - struct btsnoop_hdr { uint8_t id[8]; /* Identification Pattern */ uint32_t version; /* Version Number = 1 */ -- 1.8.5.3 -- 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