summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-03-12 21:04:20 +0400
committerDavid S. Miller <davem@davemloft.net>2014-03-12 23:28:06 +0400
commit184593c73439e82121702038d715b8f3ec9a86c9 (patch)
treec25c12f226be21bb39da78beb9c2e67eca62b02e
parentec633eb5ff62c39d0caecf0f4bb4ee28a8df1bcc (diff)
downloadlinux-184593c73439e82121702038d715b8f3ec9a86c9.tar.xz
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: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/tipc/bearer.c2
1 files changed, 1 insertions, 1 deletions
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,
};