From a23a7df78f2e39db6a4022a095d63fb07d9dd068 Mon Sep 17 00:00:00 2001 From: Andre Guedes Date: Fri, 7 Feb 2014 19:27:59 -0300 Subject: [PATCH] btsnoop: Remove unused local function and macro --- tools/btsnoop.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tools/btsnoop.c b/tools/btsnoop.c index 0e42362be..6ca62d2cd 100644 --- a/tools/btsnoop.c +++ b/tools/btsnoop.c @@ -40,19 +40,6 @@ #include "src/shared/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 */ -- 2.47.3