diff options
-rw-r--r-- | sys/dev/ti/if_ti.c | 2 | ||||
-rw-r--r-- | sys/pci/if_ti.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c index 614a408..29806e0 100644 --- a/sys/dev/ti/if_ti.c +++ b/sys/dev/ti/if_ti.c @@ -2486,7 +2486,6 @@ ti_rxeof(sc) while(sc->ti_rx_saved_considx != sc->ti_return_prodidx.ti_idx) { struct ti_rx_desc *cur_rx; u_int32_t rxidx; - struct ether_header *eh; struct mbuf *m = NULL; u_int16_t vlan_tag = 0; int have_tag = 0; @@ -2561,7 +2560,6 @@ ti_rxeof(sc) m->m_pkthdr.len = cur_rx->ti_len; ifp->if_ipackets++; - eh = mtod(m, struct ether_header *); m->m_pkthdr.rcvif = ifp; if (ifp->if_hwassist) { diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c index 614a408..29806e0 100644 --- a/sys/pci/if_ti.c +++ b/sys/pci/if_ti.c @@ -2486,7 +2486,6 @@ ti_rxeof(sc) while(sc->ti_rx_saved_considx != sc->ti_return_prodidx.ti_idx) { struct ti_rx_desc *cur_rx; u_int32_t rxidx; - struct ether_header *eh; struct mbuf *m = NULL; u_int16_t vlan_tag = 0; int have_tag = 0; @@ -2561,7 +2560,6 @@ ti_rxeof(sc) m->m_pkthdr.len = cur_rx->ti_len; ifp->if_ipackets++; - eh = mtod(m, struct ether_header *); m->m_pkthdr.rcvif = ifp; if (ifp->if_hwassist) { |