diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-12-10 00:16:35 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2020-12-10 01:14:20 +0300 |
commit | 69d6cfc491f0d2f0429b3ef1cffd393d826f2c5d (patch) | |
tree | 9570ac63c77fb27ecc5783147fa387f0cbf6f852 /drivers/net/wireless/intel/iwlwifi | |
parent | 97b4f859543dd94f81b98de205628b90c10c0419 (diff) | |
download | linux-69d6cfc491f0d2f0429b3ef1cffd393d826f2c5d.tar.xz |
iwlwifi: pcie: remove unnecessary setting of inta_mask
We set this here, but don't really use it until we've
enabled interrupts. But when enabling interrupts we
always overwrite this value anyway, so remove setting
it here, mostly in order not to have some additional
code duplicated later.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201209231352.135d96297aca.Id2d26fff60b6c31202bb0a36e46948bda6a39d33@changeid
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c index 1513f47b9425..a7964008f455 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c @@ -3568,7 +3568,6 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev, IWL_ERR(trans, "Error allocating IRQ %d\n", pdev->irq); goto out_free_ict; } - trans_pcie->inta_mask = CSR_INI_SET_MASK; } #ifdef CONFIG_IWLWIFI_DEBUGFS |