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/xilinx_axienet_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/xilinx_axienet_main.c')
-rw-r--r-- | drivers/net/ethernet/xilinx/xilinx_axienet_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c index 4bfdf8c7ada0..7b0a73556264 100644 --- a/drivers/net/ethernet/xilinx/xilinx_axienet_main.c +++ b/drivers/net/ethernet/xilinx/xilinx_axienet_main.c @@ -756,7 +756,7 @@ static void axienet_recv(struct net_device *ndev) skb->ip_summed = CHECKSUM_UNNECESSARY; } } else if ((lp->features & XAE_FEATURE_PARTIAL_RX_CSUM) != 0 && - skb->protocol == __constant_htons(ETH_P_IP) && + skb->protocol == htons(ETH_P_IP) && skb->len > 64) { skb->csum = be32_to_cpu(cur_p->app3 & 0xFFFF); skb->ip_summed = CHECKSUM_COMPLETE; |