From: Jérémie Galarneau Date: Fri, 7 Feb 2020 23:25:36 +0000 (-0500) Subject: sessiond: clean-up: remove unused `state` function parameter X-Git-Tag: v2.13.0-rc1~545 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=adc93634b7c0f153a620dd559a91edbf7346bceb;p=lttng-tools.git sessiond: clean-up: remove unused `state` function parameter Signed-off-by: Jérémie Galarneau Change-Id: Id606bc0c0db713902cbab2fafed5c81a05ef5f08 --- diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 7b86fb39c..9cb359016 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -3088,8 +3088,7 @@ end: } static -int client_enqueue_dropped_notification(struct notification_client *client, - struct notification_thread_state *state) +int client_enqueue_dropped_notification(struct notification_client *client) { int ret; struct lttng_notification_channel_message msg = { @@ -3167,7 +3166,7 @@ int send_evaluation_to_clients(const struct lttng_trigger *trigger, if (!client->communication.outbound.dropped_notification) { client->communication.outbound.dropped_notification = true; ret = client_enqueue_dropped_notification( - client, state); + client); if (ret) { goto end; }