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;
|
device_t dev = adapter->dev;
|
||||||
struct igb_queue *que = adapter->queues;
|
struct igb_queue *que = adapter->queues;
|
||||||
|
#ifndef IGB_LEGACY_TX
|
||||||
struct tx_ring *txr = adapter->tx_rings;
|
struct tx_ring *txr = adapter->tx_rings;
|
||||||
|
#endif
|
||||||
int error, rid = 0;
|
int error, rid = 0;
|
||||||
|
|
||||||
/* Turn off all interrupts */
|
/* Turn off all interrupts */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user