Fix compilation with IGB_LEGACY_TX defined.

PR:		185909
Submitted by:	Aurelien Rougemont <beorn binaries.fr>
This commit is contained in:
Gleb Smirnoff 2014-01-25 20:39:23 +00:00
parent 9ef6342f9e
commit 3dbdfe820b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=261169

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 */