summaryrefslogtreecommitdiffstats
path: root/sys/dev/ti/if_ti.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 19:56:35 +0000
committerphk <phk@FreeBSD.org>2003-05-31 19:56:35 +0000
commit7525d5ae8789887dfac0f69fd2ce809daf155f53 (patch)
treedb519938d8a5da93c944f79db4cf7d2a90f5afb2 /sys/dev/ti/if_ti.c
parent34f931b00b524f5ca889e687ff8b010b65209831 (diff)
downloadFreeBSD-src-7525d5ae8789887dfac0f69fd2ce809daf155f53.zip
FreeBSD-src-7525d5ae8789887dfac0f69fd2ce809daf155f53.tar.gz
Remove now unused pointer to etherheader.
Found by: FlexeLint
Diffstat (limited to 'sys/dev/ti/if_ti.c')
-rw-r--r--sys/dev/ti/if_ti.c2
1 files changed, 0 insertions, 2 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) {
OpenPOWER on IntegriCloud