mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
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:
parent
310ea1236c
commit
90c6f87786
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user