summaryrefslogtreecommitdiff
path: root/libports
diff options
context:
space:
mode:
Diffstat (limited to 'libports')
-rw-r--r--libports/interrupt-rpcs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libports/interrupt-rpcs.c b/libports/interrupt-rpcs.c
index 98fad8be..1420f8c3 100644
--- a/libports/interrupt-rpcs.c
+++ b/libports/interrupt-rpcs.c
@@ -32,8 +32,7 @@ ports_interrupt_rpc (void *portstruct)
mutex_lock (&_ports_lock);
for (rpc = pi->current_rpcs; rpc; rpc = rpc->next)
- if (rpc->thread != mach_thread_self ())
- hurd_thread_cancel (rpc->thread);
+ hurd_thread_cancel (rpc->thread);
mutex_unlock (&_ports_lock);
}