Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2021 08:35:08 GMT
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5f07d7fe408b - main - mgb: Fix DEBUG (and LINT) build
Message-ID:  <202109290835.18T8Z8ns088199@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/src/commit/?id=5f07d7fe408bbca5c2f6755c363128107916c08d

commit 5f07d7fe408bbca5c2f6755c363128107916c08d
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2021-09-29 08:34:59 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-09-29 08:34:59 +0000

    mgb: Fix DEBUG (and LINT) build
    
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/mgb/if_mgb.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys/dev/mgb/if_mgb.c b/sys/dev/mgb/if_mgb.c
index d4dda0bf65fd..bc944c92625c 100644
--- a/sys/dev/mgb/if_mgb.c
+++ b/sys/dev/mgb/if_mgb.c
@@ -693,7 +693,6 @@ mgb_dump_some_stats(struct mgb_softc *sc)
 		    i, sc->tx_ring_data.ring[i].addr.high,
 		    i, sc->tx_ring_data.ring[i].sts);
 	device_printf(sc->dev, "==== DUMP_TX_DMA_RAM ====\n");
-	int i;
 	CSR_WRITE_REG(sc, 0x24, 0xF); // DP_SEL & TX_RAM_0
 	for (i = 0; i < 128; i++) {
 		CSR_WRITE_REG(sc, 0x2C, i); // DP_ADDR



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