[PATCH 4/6] nf: Remove unused function htonll()

Thomas Graf tgraf at suug.ch
Mon Aug 25 16:09:10 PDT 2014


Signed-off-by: Thomas Graf <tgraf at suug.ch>
---
 lib/netfilter/ct.c | 8 --------
 1 file changed, 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] = {
-- 
1.9.3




More information about the libnl mailing list