Author: mjg
Date: Mon Jul 22 00:44:37 2013
New Revision: 253537
URL: http://svnweb.freebsd.org/changeset/base/253537

Log:
  Remove duplicate assertion from tdsendsignal.
  
  MFC after:    2 weeks

Modified:
  head/sys/kern/kern_sig.c

Modified: head/sys/kern/kern_sig.c
==============================================================================
--- head/sys/kern/kern_sig.c    Sun Jul 21 23:10:45 2013        (r253536)
+++ head/sys/kern/kern_sig.c    Mon Jul 22 00:44:37 2013        (r253537)
@@ -2063,10 +2063,8 @@ tdsendsignal(struct proc *p, struct thre
        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 );
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to