diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c index ac2412bf538..79300332a8b 100644 --- a/src/core/mount-setup.c +++ b/src/core/mount-setup.c @@ -279,7 +279,7 @@ int mount_cgroup_controllers(char ***join_controllers) { if (strv_find(*k, controller)) break; - if (k && *k) { + if (*k) { char **i, **j; for (i = *k, j = *k; *i; i++) {