]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
event: Unused code
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 27 Apr 2020 23:51:58 +0000 (18:51 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 27 Apr 2020 23:51:58 +0000 (18:51 -0500)
src/lib/util/event.c

index ea7764581f4667136ca0b1f5c969af951e89843e..d334955586be2dfeac4f714af56f734b9b63c004 100644 (file)
@@ -1956,17 +1956,9 @@ service:
  */
 void fr_event_loop_exit(fr_event_list_t *el, int code)
 {
-       struct kevent kev;
-
        if (unlikely(!el)) return;
 
        el->will_exit = code;
-
-       /*
-        *      Signal the control plane to exit.
-        */
-       EV_SET(&kev, 0, EVFILT_USER, 0, NOTE_TRIGGER | NOTE_FFNOP, 0, NULL);
-       (void) kevent(el->kq, &kev, 1, NULL, 0, NULL);
 }
 
 /** Check to see whether the event loop is in the process of exiting