From: Joe Perches Date: Wed, 12 Mar 2014 17:04:20 +0000 (-0700) Subject: tipc: Convert uses of __constant_ to X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=184593c73439e82121702038d715b8f3ec9a86c9;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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, };