Re: [PATCH 7/8] Remove some lcr ifdef'ed code in service.c

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

 



ACK

On 1/14/2012 10:13 PM, Steven Dake wrote:
> Signed-off-by: Steven Dake <sdake@xxxxxxxxxx>
> ---
>  exec/service.c |   20 --------------------
>  1 files changed, 0 insertions(+), 20 deletions(-)
> 
> diff --git a/exec/service.c b/exec/service.c
> index 5bd35d2..787b289 100644
> --- a/exec/service.c
> +++ b/exec/service.c
> @@ -151,15 +151,6 @@ unsigned int corosync_service_link_and_init (
>  
>  	corosync_service[service_engine->id] = service_engine;
>  
> -	/*
> -	 * Register the log sites with libqb
> -	 */
> -/* SDAKE
> -	_start = lcr_ifact_addr_get(handle, "__start___verbose");
> -	_stop = lcr_ifact_addr_get(handle, "__stop___verbose");
> -	qb_log_callsites_register(_start, _stop);
> -*/
> -
>  	if (service_engine->config_init_fn) {
>  		res = service_engine->config_init_fn (corosync_api);
>  	}
> @@ -346,13 +337,6 @@ static unsigned int service_unlink_and_exit (
>  
>  		cs_ipcs_service_destroy (service_id);
>  
> -#ifdef SDAKE
> -		snprintf(key_name, ICMAP_KEYNAME_MAXLEN, "internal_configuration.service.%u.handle", service_id);
> -		if (icmap_get_uint64(key_name, &found_service_handle) == CS_OK) {
> -			lcr_ifact_release (found_service_handle);
> -		}
> -#endif
> -
>  		snprintf(key_name, ICMAP_KEYNAME_MAXLEN, "internal_configuration.service.%u.handle", service_id);
>  		icmap_delete(key_name);
>  		snprintf(key_name, ICMAP_KEYNAME_MAXLEN, "internal_configuration.service.%u.name", service_id);
> @@ -405,10 +389,6 @@ static void service_unlink_schedwrk_handler (void *data) {
>  
>  	corosync_service[cb_data->service_engine] = NULL;
>  
> -#ifdef SDAKE
> -	lcr_ifact_release (cb_data->service_handle);
> -#endif
> -
>  	qb_loop_job_add(cs_poll_handle_get(),
>  		QB_LOOP_HIGH,
>  		data,

_______________________________________________
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