From f7e3c6f5f8cc8e5d2e73c96bd3fcd6decde85d66 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Wed, 6 May 2015 18:59:03 +0200 Subject: udev: fix weird coding-style Eeeew! --- src/udev/udevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 661047ea26..8c81ecf279 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -150,7 +150,7 @@ static void worker_cleanup(struct worker *worker) { } static void worker_unref(struct worker *worker) { - if (!worker || (-- worker->refcount) > 0) + if (!worker || --worker->refcount > 0) return; log_debug("worker ["PID_FMT"] cleaned up", worker->pid); worker_cleanup(worker); -- cgit v1.2.3-54-g00ecf