Skip to contentSkip to conversation

tipc: delete extra semicolon blocking node deletion

PATCH In review Paul Gortmaker 2 participants 2 messages Mar 14, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tipc: delete extra semicolon blocking node deletion

Remove bogus semicolon only recently introduced in 34e46258cb9f5 that blocks cleanup of nodes for N>1 on shutdown.

---

Also available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/paulg/net-next-2.6.git tipc-Mar14-2011

 net/tipc/net.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
net/tipc/net.c +1 -1
index 8fbc7e6..68b3dd6 100644
@@ -221,7 +221,7 @@ void tipc_net_stop(void)
 	tipc_bearer_stop();
 	tipc_mode = TIPC_NODE_MODE;
 	tipc_bclink_stop();
-	list_for_each_entry_safe(node, t_node, &tipc_node_list, list);
+	list_for_each_entry_safe(node, t_node, &tipc_node_list, list)
 		tipc_node_delete(node);
 	write_unlock_bh(&tipc_net_lock);
 	info("Left network mode\n");
Signature · 1 line
1.7.3.3
maintainer
#1 lore raw

From: Paul Gortmaker <[email protected]>
Date: Mon, 14 Mar 2011 13:11:22 -0400

Quoted 8 lines

Remove bogus semicolon only recently introduced in 34e46258cb9f5 that blocks cleanup of nodes for N>1 on shutdown.

---

Also available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/paulg/net-next-2.6.git tipc-Mar14-2011

Pulled, thanks Paul.

We should probably change all text editors in the world to display semi-colon characters large and flashing red when editing C code :)