diff options
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/bce/if_bce.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index a01c2ea1bbd3..da1f7a38fdd6 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -7119,10 +7119,11 @@ bce_tso_setup(struct bce_softc *sc, struct mbuf **m_head, u16 *flags) struct ip *ip; struct tcphdr *th; u16 etype; - int hdr_len, ip_hlen = 0, tcp_hlen = 0, ip_len = 0; + int hdr_len __unused, ip_len __unused, ip_hlen = 0, tcp_hlen = 0; DBRUN(sc->tso_frames_requested++); + ip_len = 0; /* Controller may modify mbuf chains. */ if (M_WRITABLE(*m_head) == 0) { m = m_dup(*m_head, M_NOWAIT); @@ -7431,7 +7432,7 @@ bce_start_locked(struct ifnet *ifp) struct bce_softc *sc = ifp->if_softc; struct mbuf *m_head = NULL; int count = 0; - u16 tx_prod, tx_chain_prod; + u16 tx_prod, tx_chain_prod __unused; DBENTER(BCE_VERBOSE_SEND | BCE_VERBOSE_CTX); |
