From: Zbigniew Jędrzejewski-Szmek Date: Thu, 28 Mar 2019 08:43:56 +0000 (+0100) Subject: core: avoid unnecessary cast X-Git-Tag: v242-rc1~51^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ee36fed4389e71f0859a7b5d40e6218f3af797a6;p=thirdparty%2Fsystemd.git core: avoid unnecessary cast --- diff --git a/src/core/mount.c b/src/core/mount.c index 4fb4b0f81e3..965dc51db5a 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -1919,7 +1919,7 @@ static int mount_kill(Unit *u, KillWho who, int signo, sd_bus_error *error) { assert(m); - return unit_kill_common(u, who, signo, -1, MOUNT(u)->control_pid, error); + return unit_kill_common(u, who, signo, -1, m->control_pid, error); } static int mount_control_pid(Unit *u) {