mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +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:
@@ -207,8 +207,6 @@ static int by_time(const struct dirent **de1, const struct dirent **de2)
|
|||||||
} else {
|
} else {
|
||||||
if (sb1.st_mtim.tv_sec < sb2.st_mtim.tv_sec)
|
if (sb1.st_mtim.tv_sec < sb2.st_mtim.tv_sec)
|
||||||
return -1;
|
return -1;
|
||||||
if (sb1.st_mtim.tv_sec == sb2.st_mtim.tv_sec)
|
|
||||||
return 0;
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user