mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
Initialise these variables so gcc doesn't complain.
Submitted by: luigi
This commit is contained in:
parent
6e28368366
commit
8c0d2adf3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268067
@ -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