diff options
author | Bryan Venteicher <bryanv@FreeBSD.org> | 2014-07-02 23:28:21 +0000 |
---|---|---|
committer | Bryan Venteicher <bryanv@FreeBSD.org> | 2014-07-02 23:28:21 +0000 |
commit | a88f19d8f1760afee01964db52d15821fa0216b9 (patch) | |
tree | 9564f8f47fb962067c3e253a68e2705cea4d4755 /sys/dev/vmware | |
parent | 9b788a2e5b011bd47148c7336f15d5de3db82512 (diff) | |
download | src-a88f19d8f1760afee01964db52d15821fa0216b9.tar.gz src-a88f19d8f1760afee01964db52d15821fa0216b9.zip |
Remove some write only variables
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=268196
Diffstat (limited to 'sys/dev/vmware')
-rw-r--r-- | sys/dev/vmware/vmxnet3/if_vmx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/vmware/vmxnet3/if_vmx.c b/sys/dev/vmware/vmxnet3/if_vmx.c index a584fc0eeb57..f3fde92e3f7a 100644 --- a/sys/dev/vmware/vmxnet3/if_vmx.c +++ b/sys/dev/vmware/vmxnet3/if_vmx.c @@ -2226,12 +2226,10 @@ vmxnet3_legacy_intr(void *xsc) struct vmxnet3_softc *sc; struct vmxnet3_rxqueue *rxq; struct vmxnet3_txqueue *txq; - struct ifnet *ifp; sc = xsc; rxq = &sc->vmx_rxq[0]; txq = &sc->vmx_txq[0]; - ifp = sc->vmx_ifp; if (sc->vmx_intr_type == VMXNET3_IT_LEGACY) { if (vmxnet3_read_bar1(sc, VMXNET3_BAR1_INTR) == 0) @@ -2260,11 +2258,9 @@ vmxnet3_txq_intr(void *xtxq) { struct vmxnet3_softc *sc; struct vmxnet3_txqueue *txq; - struct ifnet *ifp; txq = xtxq; sc = txq->vxtxq_sc; - ifp = sc->vmx_ifp; if (sc->vmx_intr_mask_mode == VMXNET3_IMM_ACTIVE) vmxnet3_disable_intr(sc, txq->vxtxq_intr_idx); @@ -2774,7 +2770,6 @@ static int vmxnet3_txq_encap(struct vmxnet3_txqueue *txq, struct mbuf **m0) { struct vmxnet3_softc *sc; - struct ifnet *ifp; struct vmxnet3_txring *txr; struct vmxnet3_txdesc *txd, *sop; struct mbuf *m; @@ -2783,7 +2778,6 @@ vmxnet3_txq_encap(struct vmxnet3_txqueue *txq, struct mbuf **m0) int i, gen, nsegs, etype, proto, start, error; sc = txq->vxtxq_sc; - ifp = sc->vmx_ifp; start = 0; txd = NULL; txr = &txq->vxtxq_cmd_ring; |