Simplify sys___thrsigdivert a bit. cursig() always moves the pending signal
authorclaudio <claudio@openbsd.org>
Mon, 4 Oct 2021 08:48:12 +0000 (08:48 +0000)
committerclaudio <claudio@openbsd.org>
Mon, 4 Oct 2021 08:48:12 +0000 (08:48 +0000)
commitd4689024703d32da7b227a1aca2c09ebbc74648d
tree97c632c3926d1546386cb5c58ea4c7c7cd2102ed
parentf490462837e44f66dd5153dc294cfdccbd04f4f3
Simplify sys___thrsigdivert a bit. cursig() always moves the pending signal
to p_siglist and so there is no need to check ps_siglist for the signal.
OK mpi@
sys/kern/kern_sig.c