projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf3bd59
)
udev: delete useless codes
author
gaoyi
<ymuemc@163.com>
Tue, 13 Apr 2021 10:59:46 +0000
(18:59 +0800)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 6 May 2021 12:08:28 +0000
(14:08 +0200)
It seems no one will touch queue.bin
(cherry picked from commit
993eb00016a75cf085eed85cf626a6995e96ab3d
)
src/udev/udevadm-info.c
patch
|
blob
|
history
diff --git
a/src/udev/udevadm-info.c
b/src/udev/udevadm-info.c
index 71cc0d2d9b87eb479516e4b8490dd24c32923a5b..33fdecca50eeec1356dde4e932df66b95af6a643 100644
(file)
--- 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);