提交 90c6f877 编写于 作者: B Babu Moger 提交者: 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: NBabu Moger <babu.moger@oracle.com>
Tested-by: NAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 310ea123
...@@ -3084,7 +3084,7 @@ static void ixgbe_free_irq(struct ixgbe_adapter *adapter) ...@@ -3084,7 +3084,7 @@ static void ixgbe_free_irq(struct ixgbe_adapter *adapter)
free_irq(entry->vector, q_vector); 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册