From 45670b65566c9c5a95f356e417d2d7fe88f3a30f Mon Sep 17 00:00:00 2001 From: Taemin Ha Date: Mon, 27 Mar 2023 21:07:13 -0500 Subject: [PATCH] apparmor: remove the redundant check This check is redundant as line 201 checks for this condition. Signed-off-by: Taemin Ha Signed-off-by: Andrei Vagin --- criu/apparmor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/criu/apparmor.c b/criu/apparmor.c index 5b62759e2..e46e239f5 100644 --- a/criu/apparmor.c +++ b/criu/apparmor.c @@ -207,8 +207,6 @@ static int by_time(const struct dirent **de1, const struct dirent **de2) } else { if (sb1.st_mtim.tv_sec < sb2.st_mtim.tv_sec) return -1; - if (sb1.st_mtim.tv_sec == sb2.st_mtim.tv_sec) - return 0; return 1; } }