diff options
| author | Scott Long <scottl@FreeBSD.org> | 2021-12-04 06:29:51 +0000 |
|---|---|---|
| committer | Scott Long <scottl@FreeBSD.org> | 2021-12-04 06:29:51 +0000 |
| commit | 1c64538f584c1ef001ce2d2feb2f89efa973061a (patch) | |
| tree | 5278df1ce00f17fa7172b52e8b8fbcbe8cda326b /sys/dev/bge | |
| parent | fc21aafe5ff2e02124ad004ee1c7e28b1ea5486a (diff) | |
Diffstat (limited to 'sys/dev/bge')
| -rw-r--r-- | sys/dev/bge/if_bge.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index e63a821888e4..825ac5db0b20 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -4811,11 +4811,9 @@ bge_tick(void *xsc) static void bge_stats_update_regs(struct bge_softc *sc) { - if_t ifp; struct bge_mac_stats *stats; uint32_t val; - ifp = sc->bge_ifp; stats = &sc->bge_mac_stats; stats->ifHCOutOctets += @@ -6236,7 +6234,6 @@ bge_add_sysctls(struct bge_softc *sc) { struct sysctl_ctx_list *ctx; struct sysctl_oid_list *children; - int unit; ctx = device_get_sysctl_ctx(sc->bge_dev); children = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->bge_dev)); @@ -6260,7 +6257,6 @@ bge_add_sysctls(struct bge_softc *sc) #endif - unit = device_get_unit(sc->bge_dev); /* * A common design characteristic for many Broadcom client controllers * is that they only support a single outstanding DMA read operation |
