From 28a3868fdf66cda7c3fe6c8059eca213d2a0f294 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Wed, 27 Dec 1995 21:47:43 +0000 Subject: (ports_end_rpc): Get rid of any rpc notifications. --- libports/end-rpc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libports/end-rpc.c b/libports/end-rpc.c index e4aba7bc..cd0aa2d4 100644 --- a/libports/end-rpc.c +++ b/libports/end-rpc.c @@ -26,6 +26,9 @@ ports_end_rpc (void *port, struct rpc_info *info) { struct port_info *pi = port; + if (info->notifies) + _ports_remove_notified_rpc (info); + mutex_lock (&_ports_lock); *info->prevp = info->next; if (info->next) -- cgit v1.2.3