From: Mathieu Desnoyers Date: Wed, 20 Mar 2013 18:07:03 +0000 (-0400) Subject: Cleanup: remove unused variables X-Git-Tag: v2.2.0-rc1~48 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=24622edc2ab447f7c0ca70436bc474d132825276;p=lttng-ust.git Cleanup: remove unused variables Signed-off-by: Mathieu Desnoyers --- diff --git a/libringbuffer/ring_buffer_frontend.c b/libringbuffer/ring_buffer_frontend.c index 6504f0e6..5df39f8d 100644 --- a/libringbuffer/ring_buffer_frontend.c +++ b/libringbuffer/ring_buffer_frontend.c @@ -643,9 +643,6 @@ void lib_ring_buffer_channel_read_timer_stop(struct channel *chan) static void channel_unregister_notifiers(struct channel *chan, struct lttng_ust_shm_handle *handle) { - const struct lttng_ust_lib_ring_buffer_config *config = &chan->backend.config; - int cpu; - lib_ring_buffer_channel_switch_timer_stop(chan); lib_ring_buffer_channel_read_timer_stop(chan); } @@ -710,7 +707,7 @@ struct lttng_ust_shm_handle *channel_create(const struct lttng_ust_lib_ring_buff size_t num_subbuf, unsigned int switch_timer_interval, unsigned int read_timer_interval) { - int ret, cpu; + int ret; size_t shmsize, chansize; struct channel *chan; struct lttng_ust_shm_handle *handle;