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>
This commit is contained in:
Arnaldo Carvalho de Melo
2008-09-20 22:20:49 -07:00
committed by David S. Miller
parent a574420ff4
commit 6067804047
11 changed files with 35 additions and 35 deletions

View File

@@ -39,7 +39,7 @@ static unsigned int classify_1d(struct sk_buff *skb)
return skb->priority - 256;
switch (skb->protocol) {
case __constant_htons(ETH_P_IP):
case htons(ETH_P_IP):
dscp = ip_hdr(skb)->tos & 0xfc;
break;