summaryrefslogtreecommitdiff
path: root/sys/pci
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-05-31 19:56:35 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-05-31 19:56:35 +0000
commit1000b87f2a47ff0208f158f81ee6fa5b38cca41c (patch)
treedb519938d8a5da93c944f79db4cf7d2a90f5afb2 /sys/pci
parent61301f74d034178b1e9b85cef3ab006a9e341232 (diff)
Notes
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/if_ti.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c
index 614a4083bad4..29806e01016f 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) {