nf: Remove unused function htonll()
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
a45fca9a58
commit
485cefd665
1 changed files with 0 additions and 8 deletions
|
@ -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] = {
|
||||
|
|
Loading…
Add table
Reference in a new issue