From: Mathieu Desnoyers Date: Thu, 12 Jan 2012 18:47:09 +0000 (-0500) Subject: Remove unneeded fields assignments (should not use those UST-internal fields) X-Git-Tag: v2.0-pre17~22^2~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7a9cce7d405d187a499b147cb68563f36f88f0d0;p=lttng-tools.git Remove unneeded fields assignments (should not use those UST-internal fields) Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-sessiond/ust-app.c b/lttng-sessiond/ust-app.c index 9c500481e..063a2fd0a 100644 --- a/lttng-sessiond/ust-app.c +++ b/lttng-sessiond/ust-app.c @@ -592,9 +592,6 @@ static int create_ust_channel(struct ust_app *app, } ua_chan->handle = ua_chan->obj->handle; - ua_chan->attr.shm_fd = ua_chan->obj->shm_fd; - ua_chan->attr.wait_fd = ua_chan->obj->wait_fd; - ua_chan->attr.memory_map_size = ua_chan->obj->memory_map_size; DBG2("UST app channel %s created successfully for pid:%d and sock:%d", ua_chan->name, app->key.pid, app->key.sock);