projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec633eb
)
tipc: Convert uses of __constant_<foo> to <foo>
author
Joe Perches
<joe@perches.com>
Wed, 12 Mar 2014 17:04:20 +0000
(10:04 -0700)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/net/tipc/bearer.c
b/net/tipc/bearer.c
index 89c4c2d23ac0d54c17275b80a71feaf7fa221a2a..7f1f95c57476a05623afad7f65863b508db3436a 100644
(file)
--- 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,
};