diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-09-21 01:20:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-09-21 01:20:49 -0400 |
commit | 6067804047b64dde89f4f133fc7eba48ee44107d (patch) | |
tree | abe87787c3ad2aee82e576c7d4128e29bb296ac0 /net/ethernet | |
parent | a574420ff46cff0245e6b0fce2e961aa2717743d (diff) |
net: Use hton[sl]() instead of __constant_hton[sl]() where applicable
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethernet')
-rw-r--r-- | net/ethernet/eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index a80839b02e3f..647a9edee375 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c | |||
@@ -129,7 +129,7 @@ int eth_rebuild_header(struct sk_buff *skb) | |||
129 | 129 | ||
130 | switch (eth->h_proto) { | 130 | switch (eth->h_proto) { |
131 | #ifdef CONFIG_INET | 131 | #ifdef CONFIG_INET |
132 | case __constant_htons(ETH_P_IP): | 132 | case htons(ETH_P_IP): |
133 | return arp_find(eth->h_dest, skb); | 133 | return arp_find(eth->h_dest, skb); |
134 | #endif | 134 | #endif |
135 | default: | 135 | default: |