rt-tests: cyclicdeadline.c: Remove dead code
PATCH 1/1 rt-tests: cyclicdeadline.c: Remove dead code
In cyclicdeadline there is some unreachable code that was there from the beginning. By inspection it looks like this change was the original intention.
Signed-off-by John Kacur <[email protected]>
--- src/sched_deadline/cyclicdeadline.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
src/sched_deadline/cyclicdeadline.c +1 -3
@@ -560,13 +560,11 @@ static void destroy_cpuset(const char *name, int print)sleep (1 ); ret =rmdir (path);if (ret <0 ) { -if (retry++ <5 ) - goto again; -err_msg_n (errno,"Failed to remove %s\n" , path);if (retry++ <5 ) {err_msg ("Trying again\n" ); goto again; } +err_msg_n (errno,"Failed to remove %s\n" , path); } }
Signature · 1 line
2.26.2