From 8f88ecf6232fe6c46eecafad7c421096bb29b617 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 29 Apr 2015 19:02:08 +0200 Subject: core: for queued reload message there is no need to store the bus explicitly After all it can be derived from the message directly, and already is. --- src/core/manager.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/core/manager.h') diff --git a/src/core/manager.h b/src/core/manager.h index a1caab4d4e..a9834a9def 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -199,11 +199,9 @@ struct Manager { sd_bus_track *subscribed; char **deserialized_subscribed; - sd_bus_message *queued_message; /* This is used during reloading: - * before the reload we queue the - * reply message here, and - * afterwards we send it */ - sd_bus *queued_message_bus; /* The connection to send the queued message on */ + /* This is used during reloading: before the reload we queue + * the reply message here, and afterwards we send it */ + sd_bus_message *queued_message; Hashmap *watch_bus; /* D-Bus names => Unit object n:1 */ -- cgit v1.2.3-54-g00ecf