summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-08-16 10:10:47 +0200
committerJohannes Berg <johannes.berg@intel.com>2023-08-22 13:19:24 +0200
commitd5050543f1ed78beb85f85b5830242cb0c4968c0 (patch)
treee70d65d37dfbeda119b98af4addb80c4f05e9b19 /drivers/net/wireless/intel/iwlwifi/pcie/trans.c
parentwifi: iwlwifi: pcie: clean up gen1/gen2 TFD unmap (diff)
downloadlinux-d5050543f1ed78beb85f85b5830242cb0c4968c0.tar.xz
linux-d5050543f1ed78beb85f85b5830242cb0c4968c0.zip
wifi: iwlwifi: remove 'def_rx_queue' struct member
This is only ever initialized to zero, use a new define for the default RX queue instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230816104355.e0c6fa57c162.I907bbb428cf99725f06a348c8dbce5d3dd877136@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/pcie/trans.c')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/pcie/trans.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
index 3e988da44973..2096f7158728 100644
--- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
+++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c
@@ -3617,8 +3617,6 @@ struct iwl_trans *iwl_trans_pcie_alloc(struct pci_dev *pdev,
PCIE_LINK_STATE_CLKPM);
}
- trans_pcie->def_rx_queue = 0;
-
pci_set_master(pdev);
addr_size = trans->txqs.tfd.addr_size;