ixgbe: Fix minor typo while freeing irq

The array subscript increments after the execution of the statement.
So there is no issue here. However it helps to read the code better.

Signed-off-by: Babu Moger <babu.moger@oracle.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Babu Moger 2016-06-18 17:40:47 -07:00 committed by Jeff Kirsher
parent 310ea1236c
commit 90c6f87786

View File

@ -3084,7 +3084,7 @@ static void ixgbe_free_irq(struct ixgbe_adapter *adapter)
free_irq(entry->vector, q_vector);
}
free_irq(adapter->msix_entries[vector++].vector, adapter);
free_irq(adapter->msix_entries[vector].vector, adapter);
}
/**