From adf171757dc1bcf2c5e8b1918e057b9440f43d0e 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! Signed-off-by: Anthony G. Basile --- src/udev/udevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/udev') diff --git a/src/udev/udevd.c b/src/udev/udevd.c index b921442337..2b2b4aaf81 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -153,7 +153,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