提交 ec633eb5 编写于 作者: J Joe Perches 提交者: David S. Miller

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: NJoe Perches <joe@perches.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2b8837ae
...@@ -613,7 +613,7 @@ static struct notifier_block lowpan_dev_notifier = { ...@@ -613,7 +613,7 @@ static struct notifier_block lowpan_dev_notifier = {
}; };
static struct packet_type lowpan_packet_type = { static struct packet_type lowpan_packet_type = {
.type = __constant_htons(ETH_P_IEEE802154), .type = htons(ETH_P_IEEE802154),
.func = lowpan_rcv, .func = lowpan_rcv,
}; };
......
...@@ -326,7 +326,7 @@ static int ieee802154_rcv(struct sk_buff *skb, struct net_device *dev, ...@@ -326,7 +326,7 @@ static int ieee802154_rcv(struct sk_buff *skb, struct net_device *dev,
static struct packet_type ieee802154_packet_type = { static struct packet_type ieee802154_packet_type = {
.type = __constant_htons(ETH_P_IEEE802154), .type = htons(ETH_P_IEEE802154),
.func = ieee802154_rcv, .func = ieee802154_rcv,
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册