Remove unused variable
authorDavid Goulet <david.goulet@polymtl.ca>
Wed, 26 Oct 2011 11:49:38 +0000 (07:49 -0400)
committerDavid Goulet <david.goulet@polymtl.ca>
Wed, 26 Oct 2011 11:49:38 +0000 (07:49 -0400)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
ltt-sessiond/main.c

index 167187e4da6801ba1b7e38ad9d21bd081b0b5730..ddf5acd2f116664b2777421338033a0c64fc0aa4 100644 (file)
@@ -417,13 +417,11 @@ static int send_consumer_channel_streams(struct consumer_data *consumer_data,
                int sock, struct ltt_kernel_channel *channel)
 {
        int ret;
-       size_t nb_fd;
        struct ltt_kernel_stream *stream;
        struct lttcomm_consumer_msg lkm;
 
        DBG("Sending streams of channel %s to kernel consumer",
                        channel->channel->name);
-       nb_fd = channel->stream_count;
 
        /* Send channel */
        lkm.cmd_type = LTTNG_CONSUMER_ADD_CHANNEL;
This page took 0.036797 seconds and 4 git commands to generate.