diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-11-27 00:12:47 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-27 00:12:47 -0800 |
commit | c4106aa88a440430d387e022f2ad6dc1e0d52e98 (patch) | |
tree | 09064e6e767301ca28357ed5125e99123f5beaca /include/net/dn_fib.h | |
parent | 5b9ab2ec04ec1e1e53939768805612ac191d7ba2 (diff) | |
download | linux-c4106aa88a440430d387e022f2ad6dc1e0d52e98.tar.bz2 |
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>
Diffstat (limited to 'include/net/dn_fib.h')
-rw-r--r-- | include/net/dn_fib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/dn_fib.h b/include/net/dn_fib.h index 30125119c950..c378be7bf960 100644 --- a/include/net/dn_fib.h +++ b/include/net/dn_fib.h @@ -181,9 +181,9 @@ static inline void dn_fib_res_put(struct dn_fib_res *res) static inline __le16 dnet_make_mask(int n) { - if (n) - return dn_htons(~((1<<(16-n))-1)); - return 0; + if (n) + return cpu_to_le16(~((1 << (16 - n)) - 1)); + return cpu_to_le16(0); } #endif /* _NET_DN_FIB_H */ |