Fix compilation with IGB_LEGACY_TX defined.

PR:		185909
Submitted by:	Aurelien Rougemont <beorn binaries.fr>
This commit is contained in:
glebius 2014-01-25 20:39:23 +00:00
parent 4f94357c4c
commit bdf88b822a

View File

@ -2381,7 +2381,9 @@ igb_allocate_legacy(struct adapter *adapter)
{
device_t dev = adapter->dev;
struct igb_queue *que = adapter->queues;
#ifndef IGB_LEGACY_TX
struct tx_ring *txr = adapter->tx_rings;
#endif
int error, rid = 0;
/* Turn off all interrupts */