svn commit: r193601 - user/kmacy/releng_7_2_fcs/sys/dev/cxgb

Kip Macy kmacy at FreeBSD.org
Sun Jun 7 00:52:02 UTC 2009


Author: kmacy
Date: Sun Jun  7 00:52:02 2009
New Revision: 193601
URL: http://svn.freebsd.org/changeset/base/193601

Log:
  add missed variable declarations

Modified:
  user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_main.c

Modified: user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_main.c
==============================================================================
--- user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_main.c	Sun Jun  7 00:47:28 2009	(r193600)
+++ user/kmacy/releng_7_2_fcs/sys/dev/cxgb/cxgb_main.c	Sun Jun  7 00:52:02 2009	(r193601)
@@ -1025,6 +1025,7 @@ static int
 cxgb_port_detach(device_t dev)
 {
 	struct port_info *p;
+	int i;
 
 	p = device_get_softc(dev);
 
@@ -1034,6 +1035,7 @@ cxgb_port_detach(device_t dev)
 	PORT_UNLOCK(p);
 
 	for (i = p->first_qset; i < p->first_qset + p->nqsets; i++) {
+		struct adapter *sc = p->adapter;
 		struct sge_qset *qs = &sc->sge.qs[i];
 		struct sge_txq *txq = &qs->txq[TXQ_ETH];
 


More information about the svn-src-user mailing list