mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-01 05:47:04 +03:00
udev: delete useless codes
It seems no one will touch queue.bin (cherry picked from commit 993eb00016a75cf085eed85cf626a6995e96ab3d) (cherry picked from commit a511010f380397e8bb08816288e31b1666dc11b9) (cherry picked from commit 74ae332b68785b878b25facac43d166d1c85e575)
This commit is contained in:
parent
b31844123e
commit
f48fb2bb1e
@ -249,8 +249,6 @@ static void cleanup_dir(DIR *dir, mode_t mask, int depth) {
|
||||
static void cleanup_db(void) {
|
||||
_cleanup_closedir_ DIR *dir1 = NULL, *dir2 = NULL, *dir3 = NULL, *dir4 = NULL, *dir5 = NULL;
|
||||
|
||||
(void) unlink("/run/udev/queue.bin");
|
||||
|
||||
dir1 = opendir("/run/udev/data");
|
||||
if (dir1)
|
||||
cleanup_dir(dir1, S_ISVTX, 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user