summaryrefslogtreecommitdiff
path: root/net/ethernet
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-09-20 22:20:49 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-20 22:20:49 -0700
commit6067804047b64dde89f4f133fc7eba48ee44107d (patch)
treeabe87787c3ad2aee82e576c7d4128e29bb296ac0 /net/ethernet
parenta574420ff46cff0245e6b0fce2e961aa2717743d (diff)
downloadlinux-3.10-6067804047b64dde89f4f133fc7eba48ee44107d.tar.gz
linux-3.10-6067804047b64dde89f4f133fc7eba48ee44107d.tar.bz2
linux-3.10-6067804047b64dde89f4f133fc7eba48ee44107d.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c
index a80839b02e3..647a9edee37 100644
--- a/net/ethernet/eth.c
+++ b/net/ethernet/eth.c
@@ -129,7 +129,7 @@ int eth_rebuild_header(struct sk_buff *skb)
switch (eth->h_proto) {
#ifdef CONFIG_INET
- case __constant_htons(ETH_P_IP):
+ case htons(ETH_P_IP):
return arp_find(eth->h_dest, skb);
#endif
default: