diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2014-02-07 19:27:59 -0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2014-02-17 13:43:35 +0200 |
commit | a23a7df78f2e39db6a4022a095d63fb07d9dd068 (patch) | |
tree | 27f2642021de36d6ef1e4f3ea22f8574a8c2d041 | |
parent | 03fe42f7b1371c0c57afb1d12a99622525754f80 (diff) | |
download | bluez-a23a7df78f2e39db6a4022a095d63fb07d9dd068.tar.gz |
btsnoop: Remove unused local function and macro
-rw-r--r-- | tools/btsnoop.c | 13 |
1 files changed, 0 insertions, 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 */ |