projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hlist: drop the node parameter from iterators
[linux-2.6-microblaze.git]
/
net
/
tipc
/
node.c
diff --git
a/net/tipc/node.c
b/net/tipc/node.c
index
48f39dd
..
6e6c434
100644
(file)
--- a/
net/tipc/node.c
+++ b/
net/tipc/node.c
@@
-69,12
+69,11
@@
static unsigned int tipc_hashfn(u32 addr)
struct tipc_node *tipc_node_find(u32 addr)
{
struct tipc_node *node;
struct tipc_node *tipc_node_find(u32 addr)
{
struct tipc_node *node;
- struct hlist_node *pos;
if (unlikely(!in_own_cluster_exact(addr)))
return NULL;
if (unlikely(!in_own_cluster_exact(addr)))
return NULL;
- hlist_for_each_entry(node,
pos,
&node_htable[tipc_hashfn(addr)], hash) {
+ hlist_for_each_entry(node, &node_htable[tipc_hashfn(addr)], hash) {
if (node->addr == addr)
return node;
}
if (node->addr == addr)
return node;
}