Fix build broken in r259644.

Submitted by:	tuexen
Pointy hat to:	glebius
This commit is contained in:
glebius 2013-12-20 13:18:50 +00:00
parent b8107b389e
commit 47fca5e996

View File

@ -3592,8 +3592,10 @@ ixgbe_atr(struct tx_ring *txr, struct mbuf *mp)
static void
ixgbe_txeof(struct tx_ring *txr)
{
#ifdef DEV_NETMAP
struct adapter *adapter = txr->adapter;
struct ifnet *ifp = adapter->ifp;
#endif
u32 work, processed = 0;
u16 limit = txr->process_limit;
struct ixgbe_tx_buf *buf;