decnet: remove private wrappers of endian helpers
[deliverable/linux.git] / net / decnet / dn_table.c
index 3a2830ac89c26cbaefa8b97977d9efee26d768ed..69ad9280c6936a99975bdf2f7d8361b8924783c7 100644 (file)
@@ -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);
This page took 0.045076 seconds and 5 git commands to generate.