good for merge

On 07/14/2010 08:56 PM, Angus Salkeld wrote:
> - not used
>
> Signed-off-by: Angus Salkeld<[email protected]>
> ---
>   exec/sync.c |    9 ---------
>   1 files changed, 0 insertions(+), 9 deletions(-)
>
> diff --git a/exec/sync.c b/exec/sync.c
> index c4197a8..5f48e5b 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);
>   }

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to