net: replace uses of __constant_{endian}

Base versions handle constant folding now.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
这个提交包含在:
Harvey Harrison
2009-02-01 00:45:17 -08:00
提交者 David S. Miller
父节点 ee437770c4
当前提交 09640e6365
修改 61 个文件,包含 111 行新增112 行删除

查看文件

@@ -122,7 +122,7 @@ static void rx(struct net_device *dev, int bufnum,
BUGLVL(D_SKB) arcnet_dump_skb(dev, skb, "rx");
skb->protocol = __constant_htons(ETH_P_ARCNET);
skb->protocol = cpu_to_be16(ETH_P_ARCNET);
;
netif_rx(skb);
}