diff options
author | Joe Perches <joe@perches.com> | 2014-03-12 13:04:17 -0400 |
---|---|---|
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) |
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); | |||
3495 | static bool skb_pfmemalloc_protocol(struct sk_buff *skb) | 3495 | static bool skb_pfmemalloc_protocol(struct sk_buff *skb) |
3496 | { | 3496 | { |
3497 | switch (skb->protocol) { | 3497 | switch (skb->protocol) { |
3498 | case __constant_htons(ETH_P_ARP): | 3498 | case htons(ETH_P_ARP): |
3499 | case __constant_htons(ETH_P_IP): | 3499 | case htons(ETH_P_IP): |
3500 | case __constant_htons(ETH_P_IPV6): | 3500 | case htons(ETH_P_IPV6): |
3501 | case __constant_htons(ETH_P_8021Q): | 3501 | case htons(ETH_P_8021Q): |
3502 | case __constant_htons(ETH_P_8021AD): | 3502 | case htons(ETH_P_8021AD): |
3503 | return true; | 3503 | return true; |
3504 | default: | 3504 | default: |
3505 | return false; | 3505 | return false; |