[systemd-commits] src/network

Dave Reisner dreisner at kemper.freedesktop.org
Sat Sep 13 11:24:38 PDT 2014


 src/network/networkd-manager.c |    2 --
 src/network/networkd.h         |    2 --
 2 files changed, 4 deletions(-)

New commits:
commit 124f09e8125e1eae5b058b1f287e72c85a46d557
Author: Dave Reisner <dreisner at archlinux.org>
Date:   Sat Sep 13 14:10:33 2014 -0400

    networkd: remove vestigial event sources
    
    187fe1db took advantage of floating events, but didn't remove pointers
    it made superfluous.

diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index 5a4f93a..1614bc0 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 7c5459b..d4e79ab 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;
 



More information about the systemd-commits mailing list