network,resolve: remove unused variables (#8738)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Apr 2018 10:40:45 +0000 (19:40 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 17 Apr 2018 10:40:45 +0000 (12:40 +0200)
Follow-up for d7afd945b5aad5b262a3de97614f486d63d94612.

src/network/networkd-manager.c
src/network/networkd-manager.h
src/resolve/resolved-manager.c
src/resolve/resolved-manager.h

index 8825202..80d27c0 100644 (file)
@@ -1484,7 +1484,6 @@ void manager_free(Manager *m) {
         sd_bus_unref(m->bus);
         sd_bus_slot_unref(m->prepare_for_sleep_slot);
         sd_bus_slot_unref(m->connected_slot);
-        sd_event_source_unref(m->bus_retry_event_source);
 
         free(m->dynamic_timezone);
         free(m->dynamic_hostname);
index b59f62b..b1d6585 100644 (file)
@@ -31,7 +31,6 @@ struct Manager {
         sd_netlink *genl;
         sd_event *event;
         sd_resolve *resolve;
-        sd_event_source *bus_retry_event_source;
         sd_bus *bus;
         sd_bus_slot *prepare_for_sleep_slot;
         sd_bus_slot *connected_slot;
index 4c0d391..c17622a 100644 (file)
@@ -688,7 +688,6 @@ Manager *manager_free(Manager *m) {
         manager_dns_stub_stop(m);
 
         sd_bus_slot_unref(m->prepare_for_sleep_slot);
-        sd_event_source_unref(m->bus_retry_event_source);
         sd_bus_unref(m->bus);
 
         sd_event_source_unref(m->sigusr1_event_source);
index 8bdff5c..372d43c 100644 (file)
@@ -97,7 +97,6 @@ struct Manager {
 
         /* dbus */
         sd_bus *bus;
-        sd_event_source *bus_retry_event_source;
 
         /* The hostname we publish on LLMNR and mDNS */
         char *full_hostname;