diff options
author | Thomas Graf <tgraf@suug.ch> | 2014-08-25 23:09:10 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-08-26 11:09:20 (GMT) |
commit | 485cefd66562ddf8852aa20895062633f42ef1d0 (patch) | |
tree | 9dd625f6100bc0d2ce9d9563f53fc17c340724e7 /lib/netfilter | |
parent | a45fca9a586d6b4452725b1c405c1ee93dfe68ad (diff) | |
download | libnl-485cefd66562ddf8852aa20895062633f42ef1d0.zip libnl-485cefd66562ddf8852aa20895062633f42ef1d0.tar.gz libnl-485cefd66562ddf8852aa20895062633f42ef1d0.tar.bz2 |
nf: Remove unused function htonll()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'lib/netfilter')
-rw-r--r-- | lib/netfilter/ct.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/netfilter/ct.c b/lib/netfilter/ct.c index 36a83db..903c584 100644 --- a/lib/netfilter/ct.c +++ b/lib/netfilter/ct.c @@ -35,19 +35,11 @@ static uint64_t ntohll(uint64_t x) { return x; } -static uint64_t htonll(uint64_t x) -{ - return x; -} #elif __BYTE_ORDER == __LITTLE_ENDIAN static uint64_t ntohll(uint64_t x) { return bswap_64(x); } -static uint64_t htonll(uint64_t x) -{ - return bswap_64(x); -} #endif static struct nla_policy ct_policy[CTA_MAX+1] = { |