From d8809c7df9b310bda339fac02834d6c381fb0b3c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 2 Nov 2023 19:51:08 +0000 Subject: [PATCH] flt.lttng-utils.debug-info: remove unused parameter from handle_msg_iterator_inactivity Change-Id: I007b1d2a121ce1cf15abffda7485aaa396c3c7b2 Reviewed-on: https://review.lttng.org/c/babeltrace/+/11215 CI-Build: Simon Marchi Reviewed-by: Philippe Proulx --- src/plugins/lttng-utils/debug-info/debug-info.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/plugins/lttng-utils/debug-info/debug-info.c b/src/plugins/lttng-utils/debug-info/debug-info.c index 927ba7a8..f8ef8182 100644 --- a/src/plugins/lttng-utils/debug-info/debug-info.c +++ b/src/plugins/lttng-utils/debug-info/debug-info.c @@ -1510,9 +1510,7 @@ end: } static -bt_message *handle_msg_iterator_inactivity( - struct debug_info_msg_iter *debug_it __attribute__((unused)), - const bt_message *in_message) +bt_message *handle_msg_iterator_inactivity(const bt_message *in_message) { /* * This message type can be forwarded directly because it does @@ -1665,7 +1663,7 @@ const bt_message *handle_message(struct debug_info_msg_iter *debug_it, out_message = handle_stream_end_message(debug_it, in_message); break; case BT_MESSAGE_TYPE_MESSAGE_ITERATOR_INACTIVITY: - out_message = handle_msg_iterator_inactivity(debug_it, in_message); + out_message = handle_msg_iterator_inactivity(in_message); break; case BT_MESSAGE_TYPE_DISCARDED_EVENTS: out_message = handle_discarded_events_message(debug_it, in_message); -- 2.34.1