get rid of if (timeout_pending()) timeout_del(). this is racy. any
authordlg <dlg@openbsd.org>
Tue, 24 Dec 2013 01:11:04 +0000 (01:11 +0000)
committerdlg <dlg@openbsd.org>
Tue, 24 Dec 2013 01:11:04 +0000 (01:11 +0000)
commit52fe8a0ecd04ae80559997b70fc1e63202eefabf
treef07b1dc0774b458bdf09b1f0624a2b34b4cb4648
parent94717a92adc4a8cae3f2627ad9d78d50fe2dd4e1
get rid of if (timeout_pending()) timeout_del(). this is racy. any
conditionals you did on timeout_pending can now be done on timeout_del
now that it returns what it did.

ok and a very good fix from kettenis@
sys/arch/loongson/dev/kb3310.c
sys/arch/sparc/dev/be.c
sys/kern/kern_synch.c