We seem to call only into the exception and message server routines. --- hurd/msgportdemux.c | 17 ----------------- 1 file changed, 17 deletions(-)
diff --git a/hurd/msgportdemux.c b/hurd/msgportdemux.c index 7587beda43..676e2e5008 100644 --- a/hurd/msgportdemux.c +++ b/hurd/msgportdemux.c @@ -20,18 +20,6 @@ #include <hurd/signal.h> #include <stddef.h> -struct demux - { - struct demux *next; - boolean_t (*demux) (mach_msg_header_t *inp, - mach_msg_header_t *outp); - }; - -struct demux *_hurd_msgport_demuxers = NULL; - -extern boolean_t __msg_server (mach_msg_header_t *inp, - mach_msg_header_t *outp); - static boolean_t msgport_server (mach_msg_header_t *inp, mach_msg_header_t *outp) @@ -40,11 +28,6 @@ msgport_server (mach_msg_header_t *inp, mach_msg_header_t *outp); extern boolean_t _S_exc_server (mach_msg_header_t *inp, mach_msg_header_t *outp); - struct demux *d; - - for (d = _hurd_msgport_demuxers; d != NULL; d = d->next) - if ((*d->demux) (inp, outp)) - return 1; return (_S_exc_server (inp, outp) || _S_msg_server (inp, outp)); -- 2.39.0