tipc: Convert uses of __constant_<foo> to <foo>
authorJoe Perches <joe@perches.com>
Wed, 12 Mar 2014 17:04:20 +0000 (10:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Mar 2014 19:28:06 +0000 (15:28 -0400)
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>
net/tipc/bearer.c

index 89c4c2d23ac0d54c17275b80a71feaf7fa221a2a..7f1f95c57476a05623afad7f65863b508db3436a 100644 (file)
@@ -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,
 };