Commit 184593c7 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller

tipc: 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 ec633eb5
...@@ -575,7 +575,7 @@ static int tipc_l2_device_event(struct notifier_block *nb, unsigned long evt, ...@@ -575,7 +575,7 @@ static int tipc_l2_device_event(struct notifier_block *nb, unsigned long evt,
} }
static struct packet_type tipc_packet_type __read_mostly = { static struct packet_type tipc_packet_type __read_mostly = {
.type = __constant_htons(ETH_P_TIPC), .type = htons(ETH_P_TIPC),
.func = tipc_l2_rcv_msg, .func = tipc_l2_rcv_msg,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment