From: Thomas Graf Date: Mon, 25 Aug 2014 23:09:10 +0000 (+0200) Subject: nf: Remove unused function htonll() X-Git-Tag: libnl3_2_26rc1~44^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=485cefd66562ddf8852aa20895062633f42ef1d0;p=thirdparty%2Flibnl.git nf: Remove unused function htonll() Signed-off-by: Thomas Graf Signed-off-by: Thomas Haller --- 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] = {