From 389b9ce2288eecbbefabc0c486b5979f2be3d8ae Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Fri, 11 Sep 2015 14:55:28 -0400 Subject: Revert "udevd: warn if we receive SIGCHLD from untracked worker" This reverts commit 75e930ed64b62ac7e684cbe3493963371904d55b. This fixes issue #121. Signed-off-by: Anthony G. Basile --- src/udev/udevd.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 972b148030..b1de97a321 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -1134,7 +1134,6 @@ int main(int argc, char *argv[]) { struct epoll_event ep_netlink = { .events = EPOLLIN }; struct epoll_event ep_worker = { .events = EPOLLIN }; int r = 0, one = 1; - bool found = false; udev = udev_new(); if (!udev) { @@ -1426,8 +1425,6 @@ int main(int argc, char *argv[]) { if (worker->state != WORKER_RUNNING) continue; - else - found = true; assert(event); @@ -1494,9 +1491,6 @@ int main(int argc, char *argv[]) { if (event_queue_insert(dev) < 0) udev_device_unref(dev); } - - if (!found) - log_warning("worker ["PID_FMT"] is unknown, ignoring", getpid()); } /* start new events */ -- cgit v1.2.3-54-g00ecf