https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207858

            Bug ID: 207858
           Summary: usr/src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c:289:
                    pointless test ?
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

usr/src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c:289]: (style) Unsigned variable
'tid' can't be negative so it is unnecessary to test it.

Source code is

    KASSERT(tid >= 0 && tid < t->ntids,
        ("%s: tid=%d, ntids=%d", __func__, tid, t->ntids));

but

release_tid(struct toedev *tod, unsigned int tid, int qset)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to