projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0c6a4f
)
udev: fix weird coding-style
author
David Herrmann
<dh.herrmann@gmail.com>
Wed, 6 May 2015 16:59:03 +0000
(18:59 +0200)
committer
David Herrmann
<dh.herrmann@gmail.com>
Wed, 6 May 2015 16:59:03 +0000
(18:59 +0200)
Eeeew!
src/udev/udevd.c
patch
|
blob
|
history
diff --git
a/src/udev/udevd.c
b/src/udev/udevd.c
index
661047e
..
8c81ecf
100644
(file)
--- 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);