summaryrefslogtreecommitdiffstats
path: root/net/tipc/bearer.c
diff options
context:
space:
mode:
authorJoe Perches2014-03-12 18:04:20 +0100
committerDavid S. Miller2014-03-12 20:28:06 +0100
commit184593c73439e82121702038d715b8f3ec9a86c9 (patch)
treec25c12f226be21bb39da78beb9c2e67eca62b02e /net/tipc/bearer.c
parentieee802154: Convert uses of __constant_<foo> to <foo> (diff)
downloadkernel-qcow2-linux-184593c73439e82121702038d715b8f3ec9a86c9.tar.gz
kernel-qcow2-linux-184593c73439e82121702038d715b8f3ec9a86c9.tar.xz
kernel-qcow2-linux-184593c73439e82121702038d715b8f3ec9a86c9.zip
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>
Diffstat (limited to 'net/tipc/bearer.c')
-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,
};