Skip to content

Commit 3015aad

Browse files
Taemin Haavagin
authored andcommitted
apparmor: remove the redundant check
This check is redundant as line 201 checks for this condition. Signed-off-by: Taemin Ha <[email protected]> Signed-off-by: Andrei Vagin <[email protected]>
1 parent 4e5247a commit 3015aad

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

criu/apparmor.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ static int by_time(const struct dirent **de1, const struct dirent **de2)
207207
} else {
208208
if (sb1.st_mtim.tv_sec < sb2.st_mtim.tv_sec)
209209
return -1;
210-
if (sb1.st_mtim.tv_sec == sb2.st_mtim.tv_sec)
211-
return 0;
212210
return 1;
213211
}
214212
}

0 commit comments

Comments
 (0)