From: Joe Perches Date: Wed, 12 Mar 2014 17:04:20 +0000 (-0700) Subject: tipc: Convert uses of __constant_ to X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~14706^2~176 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=184593c73439e82121702038d715b8f3ec9a86c9;p=mirror_ubuntu-focal-kernel.git tipc: Convert uses of __constant_ to The use of __constant_ has been unnecessary for quite awhile now. Make these uses consistent with the rest of the kernel. Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c index 89c4c2d23ac0..7f1f95c57476 100644 --- a/net/tipc/bearer.c +++ b/net/tipc/bearer.c @@ -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 = { - .type = __constant_htons(ETH_P_TIPC), + .type = htons(ETH_P_TIPC), .func = tipc_l2_rcv_msg, };