summaryrefslogtreecommitdiff
path: root/src/udev/udevadm-info.c
diff options
context:
space:
mode:
authorgaoyi <ymuemc@163.com>2021-04-13 18:59:46 +0800
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-04-14 08:07:40 +0900
commit993eb00016a75cf085eed85cf626a6995e96ab3d (patch)
tree2d1df845c3ff79b394bfbcb2cf1d34a57388206c /src/udev/udevadm-info.c
parent21b6b87eb326a447ca5ed9e566e1ec7a2f227cfe (diff)
downloadsystemd-993eb00016a75cf085eed85cf626a6995e96ab3d.tar.gz
udev: delete useless codes
It seems no one will touch queue.bin
Diffstat (limited to 'src/udev/udevadm-info.c')
-rw-r--r--src/udev/udevadm-info.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/udev/udevadm-info.c b/src/udev/udevadm-info.c
index 71cc0d2d9b..33fdecca50 100644
--- a/src/udev/udevadm-info.c
+++ b/src/udev/udevadm-info.c
@@ -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);