summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-06-17 23:27:39 +0200
committerTom Gundersen <teg@jklm.no>2015-06-17 23:27:39 +0200
commit7663da324a75e1d5500326bd01f3d79c2a29d0c6 (patch)
tree9e649b00d39d86e2007585d63b57a141be523784 /src
parent921ee38ff6222d9716da877639b2a0e9195c3a60 (diff)
parent118786182b8eafb55588e726fe6914290ef6c05f (diff)
Merge pull request #270 from phomes/master
udevd: remove dead code
Diffstat (limited to 'src')
-rw-r--r--src/udev/udevd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 11f1f6372e..c205f1d5ec 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -436,7 +436,6 @@ static void worker_spawn(Manager *manager, struct event *event) {
if (fd_lock >= 0 && flock(fd_lock, LOCK_SH|LOCK_NB) < 0) {
log_debug_errno(errno, "Unable to flock(%s), skipping event handling: %m", udev_device_get_devnode(d));
fd_lock = safe_close(fd_lock);
- r = -EAGAIN;
goto skip;
}
}