Fix compilation with IGB_LEGACY_TX defined.
PR: 185909 Submitted by: Aurelien Rougemont <beorn binaries.fr>
This commit is contained in:
parent
4f94357c4c
commit
bdf88b822a
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user