decnet: remove private wrappers of endian helpers
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Reviewed-by: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
5b9ab2ec04
commit
c4106aa88a
@@ -85,7 +85,7 @@ static int dn_fib_hash_zombies;
|
||||
|
||||
static inline dn_fib_idx_t dn_hash(dn_fib_key_t key, struct dn_zone *dz)
|
||||
{
|
||||
u16 h = dn_ntohs(key.datum)>>(16 - dz->dz_order);
|
||||
u16 h = le16_to_cpu(key.datum)>>(16 - dz->dz_order);
|
||||
h ^= (h >> 10);
|
||||
h ^= (h >> 6);
|
||||
h &= DZ_HASHMASK(dz);
|
||||
|
Reference in New Issue
Block a user