2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 13:28:27 +00:00

apparmor: remove the redundant check

This check is redundant as line 201 checks for this condition.

Signed-off-by: Taemin Ha <taeminha@cs.utexas.edu>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
This commit is contained in:
Taemin Ha 2023-03-27 21:07:13 -05:00 committed by Andrei Vagin
parent 5e8d7dc94b
commit 45670b6556

View File

@ -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;
}
}