Remove duplicate assertion from tdsendsignal.

MFC after:	2 weeks
This commit is contained in:
Mateusz Guzik 2013-07-22 00:44:37 +00:00
parent 25cedb6f51
commit 462314b3f9

View File

@ -2063,10 +2063,8 @@ tdsendsignal(struct proc *p, struct thread *td, int sig, ksiginfo_t *ksi)
if (td == NULL) {
td = sigtd(p, sig, prop);
sigqueue = &p->p_sigqueue;
} else {
KASSERT(td->td_proc == p, ("invalid thread"));
} else
sigqueue = &td->td_sigqueue;
}
SDT_PROBE(proc, kernel, , signal_send, td, p, sig, 0, 0 );