sink.utils.dummy: remove unnecessary check in dummy_consume()
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 5 Mar 2024 21:05:05 +0000 (16:05 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 26 Mar 2024 18:56:36 +0000 (14:56 -0400)
commitbe0f44d1b1e20aef3b8786e3f97e45ce3d037f61
tree6f9dbe6d2e76fe10ffdcd6a900a85a54850a4bd0
parent6b8362f328ff96232e16ae7272dc68c673890aa2
sink.utils.dummy: remove unnecessary check in dummy_consume()

Given the lifecycle of a component, I'm pretty sure this condition can
never be true.  For dummy_consume() to be called,
dummy_graph_is_configured() must execute successfully.  If
dummy_graph_is_configured() executes successfully, `dummy->msg_iter` is
necessarily set.

Change-Id: I5c11c6b76c8cb267f0185c1a35bc2f5e70826509
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12009
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/plugins/utils/dummy/dummy.c
This page took 0.027596 seconds and 4 git commands to generate.