Author: np
Date: Thu Mar 10 14:17:24 2016
New Revision: 296612
URL: https://svnweb.freebsd.org/changeset/base/296612

Log:
  cxgb(4): Remove redundant part of an assertion.
  
  PR:           207858
  Submitted by: David Binderman

Modified:
  head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c

Modified: head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
==============================================================================
--- head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c     Thu Mar 10 10:03:28 2016        
(r296611)
+++ head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c     Thu Mar 10 14:17:24 2016        
(r296612)
@@ -286,7 +286,7 @@ release_tid(struct toedev *tod, unsigned
        struct tid_info *t = &td->tid_maps;
 #endif
 
-       KASSERT(tid >= 0 && tid < t->ntids,
+       KASSERT(tid < t->ntids,
            ("%s: tid=%d, ntids=%d", __func__, tid, t->ntids));
 
        m = M_GETHDR_OFLD(qset, CPL_PRIORITY_CONTROL, cpl);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to