From df2d202e6ed4001a21c6512c244acad5d4706c87 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 21 Nov 2013 01:51:16 +0100 Subject: bus: let's simplify things by getting rid of unnecessary bus parameters --- src/core/dbus-job.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/dbus-job.c') diff --git a/src/core/dbus-job.c b/src/core/dbus-job.c index e774383793..bdb9096e42 100644 --- a/src/core/dbus-job.c +++ b/src/core/dbus-job.c @@ -62,7 +62,7 @@ static int method_cancel(sd_bus *bus, sd_bus_message *message, void *userdata) { SELINUX_UNIT_ACCESS_CHECK(j->unit, bus, message, "stop"); job_finish_and_invalidate(j, JOB_CANCELED, true); - return sd_bus_reply_method_return(bus, message, NULL); + return sd_bus_reply_method_return(message, NULL); } const sd_bus_vtable bus_job_vtable[] = { -- cgit v1.2.3