Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 213827
b: refs/heads/master
c: 76ae0d7
h: refs/heads/master
i:
  213825: 833fe96
  213823: 074bdce
v: v3
  • Loading branch information
Allan Stephens authored and David S. Miller committed Aug 18, 2010
1 parent bbbbb2c commit 73481ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96d841b7038b8091af3530a008793f5577337d3a
refs/heads/master: 76ae0d71d839b365faa7fdca0eec85a6d1a20d95
3 changes: 1 addition & 2 deletions trunk/net/tipc/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@ void tipc_node_link_down(struct tipc_node *n_ptr, struct link *l_ptr)

int tipc_node_has_active_links(struct tipc_node *n_ptr)
{
return (n_ptr &&
((n_ptr->active_links[0]) || (n_ptr->active_links[1])));
return n_ptr->active_links[0] != NULL;
}

int tipc_node_has_redundant_links(struct tipc_node *n_ptr)
Expand Down

0 comments on commit 73481ce

Please sign in to comment.