diff options
author | Joe Perches <joe@perches.com> | 2014-03-12 10:22:36 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-12 15:28:06 -0400 |
commit | ceffc4acfc8c4cf4badaa93921f00e2b34e24a97 (patch) | |
tree | 2e30b303277df00e969829284959e65709c43625 /drivers/net/ethernet/xilinx/ll_temac_main.c | |
parent | b779d0afccffaceda3169b3810faa23444f13b9e (diff) | |
download | blackbird-op-linux-ceffc4acfc8c4cf4badaa93921f00e2b34e24a97.tar.gz blackbird-op-linux-ceffc4acfc8c4cf4badaa93921f00e2b34e24a97.zip |
xilinx: Convert uses of __constant_<foo> to <foo>
The use of __constant_<foo> has been unnecessary for quite awhile now.
Make these uses consistent with the rest of the kernel.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/xilinx/ll_temac_main.c')
-rw-r--r-- | drivers/net/ethernet/xilinx/ll_temac_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c index a4347508031c..fa193c4688da 100644 --- a/drivers/net/ethernet/xilinx/ll_temac_main.c +++ b/drivers/net/ethernet/xilinx/ll_temac_main.c @@ -771,8 +771,8 @@ static void ll_temac_recv(struct net_device *ndev) /* if we're doing rx csum offload, set it up */ if (((lp->temac_features & TEMAC_FEATURE_RX_CSUM) != 0) && - (skb->protocol == __constant_htons(ETH_P_IP)) && - (skb->len > 64)) { + (skb->protocol == htons(ETH_P_IP)) && + (skb->len > 64)) { skb->csum = cur_p->app3 & 0xFFFF; skb->ip_summed = CHECKSUM_COMPLETE; |