Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec633eb5 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

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: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2b8837ae
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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,
};
};


+1 −1
Original line number Original line Diff line number Diff line
@@ -326,7 +326,7 @@ drop:




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,
};
};