mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove now unused pointer to etherheader.
Found by: FlexeLint
This commit is contained in:
parent
61301f74d0
commit
1000b87f2a
2 changed files with 0 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue