iwlwifi: pcie: remove duplicate assignment of variable isr_stats
authorColin Ian King <colin.king@canonical.com>
Mon, 28 Mar 2016 11:33:44 +0000 (12:33 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 30 Mar 2016 13:24:52 +0000 (16:24 +0300)
isr_stats is written twice with the same value, remove one of the
redundant assignments to isr_stats.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/pcie/rx.c

index 59a7e45b12df1a986e800d507966cba947084e71..7f8a2322cda2ca4f2e85b6e67bc2b4cb2fab7334 100644 (file)
@@ -1811,7 +1811,7 @@ irqreturn_t iwl_pcie_irq_msix_handler(int irq, void *dev_id)
        struct msix_entry *entry = dev_id;
        struct iwl_trans_pcie *trans_pcie = iwl_pcie_get_trans_pcie(entry);
        struct iwl_trans *trans = trans_pcie->trans;
-       struct isr_statistics *isr_stats = isr_stats = &trans_pcie->isr_stats;
+       struct isr_statistics *isr_stats = &trans_pcie->isr_stats;
        u32 inta_fh, inta_hw;
 
        lock_map_acquire(&trans->sync_cmd_lockdep_map);