diff options
author | Joe Perches <joe@perches.com> | 2014-03-12 10:04:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-12 15:28:06 -0400 |
commit | 2b8837aeaaa0bb6b4b3be1b3afd1cc088f68a362 (patch) | |
tree | d09be70a5204356d86bdefc74a1f1e67b545cacf /net/core/dev.c | |
parent | f0e78826e47facd538b74e3ef13f352f2a7db004 (diff) | |
download | lwn-2b8837aeaaa0bb6b4b3be1b3afd1cc088f68a362.tar.gz lwn-2b8837aeaaa0bb6b4b3be1b3afd1cc088f68a362.zip |
net: 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 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index b1b0c8d4d7df..587f9fb85d73 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -3495,11 +3495,11 @@ EXPORT_SYMBOL_GPL(netdev_rx_handler_unregister); static bool skb_pfmemalloc_protocol(struct sk_buff *skb) { switch (skb->protocol) { - case __constant_htons(ETH_P_ARP): - case __constant_htons(ETH_P_IP): - case __constant_htons(ETH_P_IPV6): - case __constant_htons(ETH_P_8021Q): - case __constant_htons(ETH_P_8021AD): + case htons(ETH_P_ARP): + case htons(ETH_P_IP): + case htons(ETH_P_IPV6): + case htons(ETH_P_8021Q): + case htons(ETH_P_8021AD): return true; default: return false; |