diff options
Diffstat (limited to 'src/udev/udev-manager.c')
-rw-r--r-- | src/udev/udev-manager.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/udev/udev-manager.c b/src/udev/udev-manager.c index 08ed176faf..32bc0db345 100644 --- a/src/udev/udev-manager.c +++ b/src/udev/udev-manager.c @@ -583,9 +583,6 @@ static int event_queue_start(Manager *manager) { if (!manager->events || manager->exit || manager->stop_exec_queue) return 0; - /* To make the stack directory /run/udev/links cleaned up later. */ - manager->udev_node_needs_cleanup = true; - r = event_source_disable(manager->kill_workers_event); if (r < 0) log_warning_errno(r, "Failed to disable event source for cleaning up idle workers, ignoring: %m"); @@ -1181,11 +1178,6 @@ static int on_post(sd_event_source *s, void *userdata) { /* There are no idle workers. */ - if (manager->udev_node_needs_cleanup) { - (void) udev_node_cleanup(); - manager->udev_node_needs_cleanup = false; - } - if (manager->exit) return sd_event_exit(manager->event, 0); |