svn commit: r290160 - head/sys/dev/isp
Alexander Motin
mav at FreeBSD.org
Thu Oct 29 20:43:14 UTC 2015
Author: mav
Date: Thu Oct 29 20:43:13 2015
New Revision: 290160
URL: https://svnweb.freebsd.org/changeset/base/290160
Log:
Remove some unneeded code.
Modified:
head/sys/dev/isp/isp.c
Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c Thu Oct 29 20:34:01 2015 (r290159)
+++ head/sys/dev/isp/isp.c Thu Oct 29 20:43:13 2015 (r290160)
@@ -2279,10 +2279,6 @@ isp_mark_portdb(ispsoftc_t *isp, int cha
fcportdb_t *lp;
int i;
- if (chan < 0 || chan >= isp->isp_nchan) {
- isp_prt(isp, ISP_LOGWARN, "isp_mark_portdb: bad channel %d", chan);
- return;
- }
for (i = 0; i < MAX_FC_TARG; i++) {
lp = &fcp->portdb[i];
switch (lp->state) {
More information about the svn-src-all
mailing list