summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2023-11-16 12:05:29 -0600
committerKalle Valo <kvalo@kernel.org>2023-11-22 17:50:36 +0200
commitf60df12aaaddc865a38480a48e8dba756dffb2b2 (patch)
tree438dea97338c0b4ee35f173ad14a661bf0aa3b33 /drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c
parenta85198c9f068baeef6d4a56c389b11a2035a8ea3 (diff)
downloadlinux-f60df12aaaddc865a38480a48e8dba756dffb2b2.tar.gz
linux-f60df12aaaddc865a38480a48e8dba756dffb2b2.tar.bz2
linux-f60df12aaaddc865a38480a48e8dba756dffb2b2.zip
wifi: rtlwifi: drop unused const_amdpci_aspm
Remove the unused "const_amdpci_aspm" member of struct rtl_pci and struct rtl_ps_ctl. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20231116180529.52752-1-helgaas@kernel.org
Diffstat (limited to 'drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c')
-rw-r--r--drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c
index b77937fe2448..37bb59fa8bfa 100644
--- a/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c
+++ b/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c
@@ -21,9 +21,6 @@ static void rtl88e_init_aspm_vars(struct ieee80211_hw *hw)
struct rtl_priv *rtlpriv = rtl_priv(hw);
struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));
- /*close ASPM for AMD defaultly */
- rtlpci->const_amdpci_aspm = 0;
-
/* ASPM PS mode.
* 0 - Disable ASPM,
* 1 - Enable ASPM without Clock Req,