Date: Wed, 09 Mar 2016 19:41:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207858] usr/src/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c:289: pointless test ? Message-ID: <bug-207858-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207858 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: freebsd-bugs@FreeBSD.org Reporter: dcb314@hotmail.com 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 >=3D 0 && tid < t->ntids, ("%s: tid=3D%d, ntids=3D%d", __func__, tid, t->ntids)); but release_tid(struct toedev *tod, unsigned int tid, int qset) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207858-8>