Initialise these variables so gcc doesn't complain.
Submitted by: luigi
This commit is contained in:
parent
6e28368366
commit
8c0d2adf3f
@ -2458,7 +2458,7 @@ igb_allocate_msix(struct adapter *adapter)
|
||||
device_t dev = adapter->dev;
|
||||
struct igb_queue *que = adapter->queues;
|
||||
int error, rid, vector = 0;
|
||||
int cpu_id;
|
||||
int cpu_id = 0;
|
||||
|
||||
/* Be sure to start with all interrupts disabled */
|
||||
E1000_WRITE_REG(&adapter->hw, E1000_IMC, ~0);
|
||||
|
@ -2364,7 +2364,7 @@ ixgbe_allocate_msix(struct adapter *adapter)
|
||||
struct ix_queue *que = adapter->queues;
|
||||
struct tx_ring *txr = adapter->tx_rings;
|
||||
int error, rid, vector = 0;
|
||||
int cpu_id;
|
||||
int cpu_id = 0;
|
||||
|
||||
#ifdef RSS
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user