---
 sys/dev/tsec/if_tsec.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/sys/dev/tsec/if_tsec.c b/sys/dev/tsec/if_tsec.c
index 927d339..f544bd1 100644
--- a/sys/dev/tsec/if_tsec.c
+++ b/sys/dev/tsec/if_tsec.c
@@ -926,11 +926,8 @@ tsec_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
 {
        struct tsec_softc *sc = ifp->if_softc;
        struct ifreq *ifr = (struct ifreq *)data;
-       device_t dev;
        int mask, error = 0;
 
-       dev = sc->dev;
-
        switch (command) {
        case SIOCSIFMTU:
                TSEC_GLOBAL_LOCK(sc);
@@ -1289,7 +1286,6 @@ tsec_receive_intr_locked(struct tsec_softc *sc, int count)
        struct ifnet *ifp;
        struct rx_data_type *rx_data;
        struct mbuf *m;
-       device_t dev;
        uint32_t i;
        int c, rx_npkts;
        uint16_t flags;
@@ -1298,7 +1294,6 @@ tsec_receive_intr_locked(struct tsec_softc *sc, int count)
 
        ifp = sc->tsec_ifp;
        rx_data = sc->rx_data;
-       dev = sc->dev;
        rx_npkts = 0;
 
        bus_dmamap_sync(sc->tsec_rx_dtag, sc->tsec_rx_dmap,
-- 
1.8.4.5

_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to