diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-09-13 14:10:33 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-09-13 14:18:20 -0400 |
commit | 124f09e8125e1eae5b058b1f287e72c85a46d557 (patch) | |
tree | ec6e11522b214496c4a9ccb2f086cd9afa2fdd9a | |
parent | eed9386748cb6bd7b1aecc62ea723db2e0c541ca (diff) |
networkd: remove vestigial event sources
187fe1db took advantage of floating events, but didn't remove pointers
it made superfluous.
-rw-r--r-- | src/network/networkd-manager.c | 2 | ||||
-rw-r--r-- | src/network/networkd.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index 5a4f93a06b..1614bc0091 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -146,8 +146,6 @@ void manager_free(Manager *m) { udev_unref(m->udev); sd_bus_unref(m->bus); sd_event_source_unref(m->udev_event_source); - sd_event_source_unref(m->sigterm_event_source); - sd_event_source_unref(m->sigint_event_source); sd_event_unref(m->event); while ((link = hashmap_first(m->links))) diff --git a/src/network/networkd.h b/src/network/networkd.h index 7c5459b6ac..d4e79ab2f3 100644 --- a/src/network/networkd.h +++ b/src/network/networkd.h @@ -174,8 +174,6 @@ struct Manager { struct udev *udev; struct udev_monitor *udev_monitor; sd_event_source *udev_event_source; - sd_event_source *sigterm_event_source; - sd_event_source *sigint_event_source; char *state_file; |