1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-14 01:57:27 +03:00

udved: remove dead code

Leftover from 6af5e6a4c918a68b196a04346732e094e5373a36
This commit is contained in:
Thomas Hindoe Paaboel Andersen 2015-06-17 20:29:41 +02:00
parent 07d210255b
commit 118786182b

View File

@ -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;
}
}