From db507b23f5ff9c41e1bba097b8d196ec60756215 Mon Sep 17 00:00:00 2001 From: mav Date: Thu, 29 Oct 2015 20:43:13 +0000 Subject: [PATCH] Remove some unneeded code. --- sys/dev/isp/isp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c index 2ca55048c8c9..8c932638b33f 100644 --- a/sys/dev/isp/isp.c +++ b/sys/dev/isp/isp.c @@ -2279,10 +2279,6 @@ isp_mark_portdb(ispsoftc_t *isp, int chan, int disposition) 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) {