Cleanup: remove unused variables
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 20 Mar 2013 18:07:03 +0000 (14:07 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 20 Mar 2013 18:07:03 +0000 (14:07 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/ring_buffer_frontend.c

index 6504f0e64cee59a07344703d8c402a96c375f5b1..5df39f8d21bd7e1f6ed454555d350bf210862b28 100644 (file)
@@ -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;
This page took 0.02604 seconds and 4 git commands to generate.