[Sheepdog] [PATCH 2/6] remove the useless check in join()
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Fri Apr 9 09:10:41 CEST 2010
Only the master calls join() and the master sets sys->synchronized
before calling join().
Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
collie/group.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/collie/group.c b/collie/group.c
index 36464da..47cc878 100644
--- a/collie/group.c
+++ b/collie/group.c
@@ -401,9 +401,6 @@ static void join(struct join_message *msg)
{
struct node *node;
- if (!sys->synchronized)
- return;
-
if (msg->nr_sobjs)
sys->nr_sobjs = msg->nr_sobjs;
--
1.7.0
More information about the sheepdog
mailing list