Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 21:31:34 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r291502 - stable/10/sys/dev/isp
Message-ID:  <201511302131.tAULVYSm068970@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Nov 30 21:31:34 2015
New Revision: 291502
URL: https://svnweb.freebsd.org/changeset/base/291502

Log:
  MFC r290160: Remove some unneeded code.

Modified:
  stable/10/sys/dev/isp/isp.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/isp/isp.c
==============================================================================
--- stable/10/sys/dev/isp/isp.c	Mon Nov 30 21:30:56 2015	(r291501)
+++ stable/10/sys/dev/isp/isp.c	Mon Nov 30 21:31:34 2015	(r291502)
@@ -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?201511302131.tAULVYSm068970>