diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-05 18:08:15 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-05 21:05:49 +0100 |
commit | b7737f520276528bb96d32d83b6349d2eef1003a (patch) | |
tree | d7fa14cad1df0c796eec1ed455d93cfe07f7bd0b /src/core/dbus-cgroup.c | |
parent | f7d2991539635b25ab1005887e1502dd8b98f18d (diff) | |
download | systemd-b7737f520276528bb96d32d83b6349d2eef1003a.tar.gz |
core/dbus-cgroup: drop unnecessary parens
'mask' is a macro parameter, so it cannot have commas. We don't need to
parenthesize.
Diffstat (limited to 'src/core/dbus-cgroup.c')
-rw-r--r-- | src/core/dbus-cgroup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/dbus-cgroup.c b/src/core/dbus-cgroup.c index 01f9039660..f0c8a70a66 100644 --- a/src/core/dbus-cgroup.c +++ b/src/core/dbus-cgroup.c @@ -619,7 +619,7 @@ static int bus_cgroup_set_boolean( \ if (!UNIT_WRITE_FLAGS_NOOP(flags)) { \ *p = v; \ - unit_invalidate_cgroup(u, (mask)); \ + unit_invalidate_cgroup(u, mask); \ \ if (v == (val)) \ unit_write_settingf(u, flags, name, \ @@ -656,7 +656,7 @@ static int bus_cgroup_set_boolean( \ if (!UNIT_WRITE_FLAGS_NOOP(flags)) { \ *p = v; \ - unit_invalidate_cgroup(u, (mask)); \ + unit_invalidate_cgroup(u, mask); \ \ if (v == CGROUP_LIMIT_MAX) \ unit_write_settingf(u, flags, name, \ @@ -695,7 +695,7 @@ static int bus_cgroup_set_boolean( const char *e; \ \ *p = v; \ - unit_invalidate_cgroup(u, (mask)); \ + unit_invalidate_cgroup(u, mask); \ \ /* Chop off suffix */ \ assert_se(e = endswith(name, "Scale")); \ |