From e43e760dde32d1b4f896052de2c3527b5d10ce0c Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Fri, 16 Jul 2010 02:07:09 +0000 Subject: [PATCH] SYNC: remove unused primary_designated from sync_primary_callback_fn() git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2990 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/sync.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/exec/sync.c b/exec/sync.c index ce115a35..c275d3f0 100644 --- a/exec/sync.c +++ b/exec/sync.c @@ -134,7 +134,6 @@ static void sync_confchg_fn ( static void sync_primary_callback_fn ( const unsigned int *view_list, size_t view_list_entries, - int primary_designated, const struct memb_ring_id *ring_id); @@ -321,17 +320,10 @@ int sync_register ( static void sync_primary_callback_fn ( const unsigned int *view_list, size_t view_list_entries, - int primary_designated, const struct memb_ring_id *ring_id) { int i; - if (primary_designated) { - log_printf (LOGSYS_LEVEL_DEBUG, "This node is within the primary component and will provide service.\n"); - } else { - log_printf (LOGSYS_LEVEL_DEBUG, "This node is within the non-primary component and will NOT provide any services.\n"); - return; - } /* * Execute configuration change for synchronization service @@ -491,6 +483,5 @@ static void sync_confchg_fn ( sync_primary_callback_fn ( member_list, member_list_entries, - 1, ring_id); }