aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-12 13:04:18 -0400
committerDavid S. Miller <davem@davemloft.net>2014-03-12 15:28:06 -0400
commitec633eb5ff62c39d0caecf0f4bb4ee28a8df1bcc (patch)
tree9ae9cc6399468ad2f0defd8ed02c664223cc35b1
parent2b8837aeaaa0bb6b4b3be1b3afd1cc088f68a362 (diff)
ieee802154: 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>
-rw-r--r--net/ieee802154/6lowpan_rtnl.c2
-rw-r--r--net/ieee802154/af_ieee802154.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ieee802154/6lowpan_rtnl.c b/net/ieee802154/6lowpan_rtnl.c
index 1bbab8952f77..48a8f52b5991 100644
--- a/net/ieee802154/6lowpan_rtnl.c
+++ b/net/ieee802154/6lowpan_rtnl.c
@@ -613,7 +613,7 @@ static struct notifier_block lowpan_dev_notifier = {
613}; 613};
614 614
615static struct packet_type lowpan_packet_type = { 615static struct packet_type lowpan_packet_type = {
616 .type = __constant_htons(ETH_P_IEEE802154), 616 .type = htons(ETH_P_IEEE802154),
617 .func = lowpan_rcv, 617 .func = lowpan_rcv,
618}; 618};
619 619
diff --git a/net/ieee802154/af_ieee802154.c b/net/ieee802154/af_ieee802154.c
index 40e606f3788f..a56ab9c47278 100644
--- a/net/ieee802154/af_ieee802154.c
+++ b/net/ieee802154/af_ieee802154.c
@@ -326,7 +326,7 @@ drop:
326 326
327 327
328static struct packet_type ieee802154_packet_type = { 328static struct packet_type ieee802154_packet_type = {
329 .type = __constant_htons(ETH_P_IEEE802154), 329 .type = htons(ETH_P_IEEE802154),
330 .func = ieee802154_rcv, 330 .func = ieee802154_rcv,
331}; 331};
332 332