Skip to content

Commit

Permalink
ieee802154: Convert uses of __constant_<foo> to <foo>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and David S. Miller committed Mar 12, 2014
1 parent 2b8837a commit ec633eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/ieee802154/6lowpan_rtnl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion net/ieee802154/af_ieee802154.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ static int ieee802154_rcv(struct sk_buff *skb, struct net_device *dev,


static struct packet_type ieee802154_packet_type = {
.type = __constant_htons(ETH_P_IEEE802154),
.type = htons(ETH_P_IEEE802154),
.func = ieee802154_rcv,
};

Expand Down

0 comments on commit ec633eb

Please sign in to comment.