diff options
author | Babu Moger <babu.moger@oracle.com> | 2016-06-18 17:40:47 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-07-22 01:24:16 -0700 |
commit | 90c6f87786e65e12cab06e637db8c7ef2f22de95 (patch) | |
tree | a30606b0a5539a9fea231276a06ea1d2d990ba41 /drivers/net/ethernet/intel/ixgbe | |
parent | 310ea1236c2a8492d3c0f1453e5995e08b24c70e (diff) | |
download | talos-obmc-linux-90c6f87786e65e12cab06e637db8c7ef2f22de95.tar.gz talos-obmc-linux-90c6f87786e65e12cab06e637db8c7ef2f22de95.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c index 918b94baca81..f2837ea0a0a5 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c @@ -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); } /** |