]> git.openpandora.org Git - pandora-kernel.git/commitdiff
net: Convert uses of __constant_<foo> to <foo>
authorJoe Perches <joe@perches.com>
Wed, 12 Mar 2014 17:04:17 +0000 (10:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 19:28:06 +0000 (15:28 -0400)
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>
net/core/dev.c
net/core/flow_dissector.c

index b1b0c8d4d7df31d34a575ab326dab71f1a315e51..587f9fb85d73b40ea3ec6401d591394ff6973d2c 100644 (file)
@@ -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;
Simple merge