summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-06-17 20:29:41 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-06-17 20:33:25 +0200
commit118786182b8eafb55588e726fe6914290ef6c05f (patch)
tree950b12fbeb3ed8457e05774813ebb4b4e2ee5826 /src/udev
parent07d210255b629ea97f9dc77c0fadcbc1c02be12c (diff)
udved: remove dead code
Leftover from 6af5e6a4c918a68b196a04346732e094e5373a36
Diffstat (limited to 'src/udev')
-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;
}
}