]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
nf: Remove unused function htonll()
authorThomas Graf <tgraf@suug.ch>
Mon, 25 Aug 2014 23:09:10 +0000 (01:09 +0200)
committerThomas Haller <thaller@redhat.com>
Tue, 26 Aug 2014 11:09:20 +0000 (13:09 +0200)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
lib/netfilter/ct.c

index 36a83dbe049846eaa790de0a77d30247bcddf5df..903c584ebcf58fdb8cc27df182c577dfa0b79e2b 100644 (file)
@@ -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] = {