Diff between 03fe42f7b1371c0c57afb1d12a99622525754f80 and a23a7df78f2e39db6a4022a095d63fb07d9dd068

Changed Files

File Additions Deletions Status
tools/btsnoop.c +0 -13 modified

Full Patch

diff --git a/tools/btsnoop.c b/tools/btsnoop.c
index 0e42362..6ca62d2 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 */