Re: [PATCH] Remove dead code in cfg.c

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

 



Reviewed-by: Angus Salkeld <asalkeld@xxxxxxxxxx>


On Fri, Oct 21, 2011 at 02:16:13AM -0700, Steven Dake wrote:
> Signed-off-by: Steven Dake <sdake@xxxxxxxxxx>
> ---
>  lib/cfg.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/lib/cfg.c b/lib/cfg.c
> index 5cd35c3..1828dfa 100644
> --- a/lib/cfg.c
> +++ b/lib/cfg.c
> @@ -101,9 +101,6 @@ corosync_cfg_initialize (
>  		error = qb_to_cs_error(-errno);
>  		goto error_put_destroy;
>  	}
> -	if (error != CS_OK) {
> -		goto error_put_destroy;
> -	}
>  
>  	if (cfg_callbacks) {
>  	memcpy (&cfg_inst->callbacks, cfg_callbacks, sizeof (corosync_cfg_callbacks_t));
> -- 
> 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