Re: [PATCH] Remove dead code in votequorum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ACK

On Fri, Oct 21, 2011 at 02:17:46AM -0700, Steven Dake wrote:
> Signed-off-by: Steven Dake <sdake@xxxxxxxxxx>
> ---
>  lib/votequorum.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/lib/votequorum.c b/lib/votequorum.c
> index 5b42316..60d91b7 100644
> --- a/lib/votequorum.c
> +++ b/lib/votequorum.c
> @@ -88,9 +88,6 @@ cs_error_t votequorum_initialize (
>  		error = qb_to_cs_error(-errno);
>  		goto error_put_destroy;
>  	}
> -	if (error != CS_OK) {
> -		goto error_put_destroy;
> -	}
>  
>  	if (callbacks)
>  		memcpy(&votequorum_inst->callbacks, callbacks, sizeof (*callbacks));
> -- 
> 1.7.6.4
> 
> _______________________________________________
> discuss mailing list
> discuss@xxxxxxxxxxxx
> http://lists.corosync.org/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux