ieee802154: Convert uses of __constant_<foo> to <foo>
authorJoe Perches <joe@perches.com>
Wed, 12 Mar 2014 17:04:18 +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/ieee802154/6lowpan_rtnl.c
net/ieee802154/af_ieee802154.c

index 1bbab8952f77e8f1da96fc5b876d63a63c857032..48a8f52b59915931ed37f822b12a9b7978ef86b7 100644 (file)
@@ -613,7 +613,7 @@ static struct notifier_block lowpan_dev_notifier = {
 };
 
 static struct packet_type lowpan_packet_type = {
-       .type = __constant_htons(ETH_P_IEEE802154),
+       .type = htons(ETH_P_IEEE802154),
        .func = lowpan_rcv,
 };
 
index 40e606f3788f11f5dcdeb59420ff18a4ec24eab1..a56ab9c47278a52aa657598651df52d3146a6500 100644 (file)
@@ -326,7 +326,7 @@ drop:
 
 
 static struct packet_type ieee802154_packet_type = {
-       .type = __constant_htons(ETH_P_IEEE802154),
+       .type = htons(ETH_P_IEEE802154),
        .func = ieee802154_rcv,
 };