diff options
author | glebius <glebius@FreeBSD.org> | 2006-03-17 09:17:36 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-03-17 09:17:36 +0000 |
commit | 11318397563b7c270f8b3d23ad5979a6f1984d57 (patch) | |
tree | 59a41fe2cd7b188ba7c3aecfe345d54bf1ae597f /sys/dev/bge | |
parent | 1759b378e2034fdc2ae34298d0c42e123800820c (diff) | |
download | FreeBSD-src-11318397563b7c270f8b3d23ad5979a6f1984d57.zip FreeBSD-src-11318397563b7c270f8b3d23ad5979a6f1984d57.tar.gz |
Remove dead code.
Submitted by: oleg
Diffstat (limited to 'sys/dev/bge')
-rw-r--r-- | sys/dev/bge/if_bge.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c index bb0ffd0..de83b52 100644 --- a/sys/dev/bge/if_bge.c +++ b/sys/dev/bge/if_bge.c @@ -2542,7 +2542,6 @@ bge_rxeof(sc) sc->bge_ldata.bge_status_block->bge_idx[0].bge_rx_prod_idx) { struct bge_rx_bd *cur_rx; u_int32_t rxidx; - struct ether_header *eh; struct mbuf *m = NULL; u_int16_t vlan_tag = 0; int have_tag = 0; @@ -2622,7 +2621,6 @@ bge_rxeof(sc) m->m_data += ETHER_ALIGN; } #endif - eh = mtod(m, struct ether_header *); m->m_pkthdr.len = m->m_len = cur_rx->bge_len - ETHER_CRC_LEN; m->m_pkthdr.rcvif = ifp; |