lttng: enable-event: remove gotos from cmd_enable_event
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 11 Dec 2023 21:57:37 +0000 (16:57 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Feb 2024 15:40:08 +0000 (10:40 -0500)
The use of automated resource management makes it possible to remove the
numerous uses of gotos in cmd_enable_event. Replace them by simple
return statements.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic9f3207d8b1e9c5b044506e0233468230db1acd0


No differences found
This page took 0.024416 seconds and 4 git commands to generate.