Commit 90c6f877 authored by Babu Moger's avatar Babu Moger Committed by Jeff Kirsher

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: default avatarBabu Moger <babu.moger@oracle.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 310ea123
......@@ -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);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment