projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c64f7a6
)
tipc: eliminate an unnecessary cast of node variable
author
Ying Xue
<ying.xue@windriver.com>
Fri, 16 Nov 2012 05:51:32 +0000
(13:51 +0800)
committer
Paul Gortmaker
<paul.gortmaker@windriver.com>
Thu, 22 Nov 2012 19:33:28 +0000
(14:33 -0500)
As the variable:node is currently defined to u32 type, it is
unnecessary to cast its type to u32 again when using it.
Signed-off-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/tipc/name_distr.c
patch
|
blob
|
history
diff --git
a/net/tipc/name_distr.c
b/net/tipc/name_distr.c
index 55d3928dfd6702c423c04abea5aa7ec6fc870d2e..e0d08055754ea656ab1afdd5dee59a51f16bb163 100644
(file)
--- a/
net/tipc/name_distr.c
+++ b/
net/tipc/name_distr.c
@@
-262,7
+262,7
@@
void tipc_named_node_up(unsigned long nodearg)
named_distribute(&message_list, node, &publ_zone, max_item_buf);
read_unlock_bh(&tipc_nametbl_lock);
- tipc_link_send_names(&message_list,
(u32)
node);
+ tipc_link_send_names(&message_list, node);
}
/**