1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Initialise these variables so gcc doesn't complain.

Submitted by:	luigi
This commit is contained in:
Adrian Chadd 2014-06-30 23:34:36 +00:00
parent 6e28368366
commit 8c0d2adf3f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268067
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

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