Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 2015 20:43:13 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290160 - head/sys/dev/isp
Message-ID:  <201510292043.t9TKhDpl033432@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510292043.t9TKhDpl033432>