Remove the last lefotovers from migrating cyclictest to rt-utils. The rt-utils module is reponsible for handling the tracing code. Signed-off-by: Kurt Kanzenbach <kurt@xxxxxxxxxxxxx> --- src/cyclictest/cyclictest.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 34aa9be583f8..0ec0b235dba3 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -283,9 +283,6 @@ enum { ERROR_NOTFOUND = -2, }; -static int trace_fd = -1; -static int tracemark_fd = -1; - /* * Raise the soft priority limit up to prio, if that is less than or equal * to the hard limit @@ -2272,10 +2269,7 @@ int main(int argc, char **argv) } out: /* close any tracer file descriptors */ - if (tracemark_fd >= 0) - close(tracemark_fd); - if (trace_fd >= 0) - close(trace_fd); + disable_trace_mark(); /* unlock everything */ if (lockall) -- 2.26.2