summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-04-17 19:40:45 +0900
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-04-17 12:40:45 +0200
commit79a4beb39f16ae47213e42145bda2ea64bee9987 (patch)
tree01956268142a44442e5122dec0e04f961e50d482
parentd84af414180a4a8a7dd8772fc9d5302b5f9f28c9 (diff)
downloadsystemd-79a4beb39f16ae47213e42145bda2ea64bee9987.tar.gz
network,resolve: remove unused variables (#8738)
Follow-up for d7afd945b5aad5b262a3de97614f486d63d94612.
-rw-r--r--src/network/networkd-manager.c1
-rw-r--r--src/network/networkd-manager.h1
-rw-r--r--src/resolve/resolved-manager.c1
-rw-r--r--src/resolve/resolved-manager.h1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index 8825202004..80d27c06b3 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -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);
diff --git a/src/network/networkd-manager.h b/src/network/networkd-manager.h
index b59f62bc84..b1d6585df2 100644
--- a/src/network/networkd-manager.h
+++ b/src/network/networkd-manager.h
@@ -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;
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 4c0d391ba5..c17622a074 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -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);
diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h
index 8bdff5cb4b..372d43c1a5 100644
--- a/src/resolve/resolved-manager.h
+++ b/src/resolve/resolved-manager.h
@@ -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;