File tree Expand file tree Collapse file tree 11 files changed +0
-28
lines changed
drivers/net/wireless/realtek/rtlwifi Expand file tree Collapse file tree 11 files changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ static void _rtl_pci_update_default_setting(struct ieee80211_hw *hw)
70
70
ppsc -> support_aspm = false;
71
71
72
72
/*Update PCI ASPM setting */
73
- ppsc -> const_amdpci_aspm = rtlpci -> const_amdpci_aspm ;
74
73
switch (rtlpci -> const_pci_aspm ) {
75
74
case 0 :
76
75
/*No ASPM */
Original file line number Diff line number Diff line change @@ -195,7 +195,6 @@ struct rtl_pci {
195
195
u32 reg_bcn_ctrl_val ;
196
196
197
197
/*ASPM*/ u8 const_pci_aspm ;
198
- u8 const_amdpci_aspm ;
199
198
u8 const_hwsw_rfoff_d3 ;
200
199
u8 const_support_pciaspm ;
201
200
/*pci-e bridge */
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ static void rtl88e_init_aspm_vars(struct ieee80211_hw *hw)
21
21
struct rtl_priv * rtlpriv = rtl_priv (hw );
22
22
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
23
23
24
- /*close ASPM for AMD defaultly */
25
- rtlpci -> const_amdpci_aspm = 0 ;
26
-
27
24
/* ASPM PS mode.
28
25
* 0 - Disable ASPM,
29
26
* 1 - Enable ASPM without Clock Req,
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ static void rtl92c_init_aspm_vars(struct ieee80211_hw *hw)
24
24
struct rtl_priv * rtlpriv = rtl_priv (hw );
25
25
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
26
26
27
- /*close ASPM for AMD defaultly */
28
- rtlpci -> const_amdpci_aspm = 0 ;
29
-
30
27
/*
31
28
* ASPM PS mode.
32
29
* 0 - Disable ASPM,
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ static void rtl92d_init_aspm_vars(struct ieee80211_hw *hw)
21
21
struct rtl_priv * rtlpriv = rtl_priv (hw );
22
22
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
23
23
24
- /*close ASPM for AMD defaultly */
25
- rtlpci -> const_amdpci_aspm = 0 ;
26
-
27
24
/*
28
25
* ASPM PS mode.
29
26
* 0 - Disable ASPM,
Original file line number Diff line number Diff line change @@ -24,9 +24,6 @@ static void rtl92ee_init_aspm_vars(struct ieee80211_hw *hw)
24
24
struct rtl_priv * rtlpriv = rtl_priv (hw );
25
25
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
26
26
27
- /*close ASPM for AMD defaultly */
28
- rtlpci -> const_amdpci_aspm = 0 ;
29
-
30
27
/**
31
28
* ASPM PS mode.
32
29
* 0 - Disable ASPM,
Original file line number Diff line number Diff line change @@ -21,9 +21,6 @@ static void rtl92s_init_aspm_vars(struct ieee80211_hw *hw)
21
21
struct rtl_priv * rtlpriv = rtl_priv (hw );
22
22
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
23
23
24
- /*close ASPM for AMD defaultly */
25
- rtlpci -> const_amdpci_aspm = 0 ;
26
-
27
24
/* ASPM PS mode.
28
25
* 0 - Disable ASPM,
29
26
* 1 - Enable ASPM without Clock Req,
Original file line number Diff line number Diff line change @@ -26,9 +26,6 @@ static void rtl8723e_init_aspm_vars(struct ieee80211_hw *hw)
26
26
struct rtl_priv * rtlpriv = rtl_priv (hw );
27
27
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
28
28
29
- /*close ASPM for AMD defaultly */
30
- rtlpci -> const_amdpci_aspm = 0 ;
31
-
32
29
/**
33
30
* ASPM PS mode.
34
31
* 0 - Disable ASPM,
Original file line number Diff line number Diff line change @@ -26,9 +26,6 @@ static void rtl8723be_init_aspm_vars(struct ieee80211_hw *hw)
26
26
struct rtl_priv * rtlpriv = rtl_priv (hw );
27
27
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
28
28
29
- /*close ASPM for AMD defaultly */
30
- rtlpci -> const_amdpci_aspm = 0 ;
31
-
32
29
/* ASPM PS mode.
33
30
* 0 - Disable ASPM,
34
31
* 1 - Enable ASPM without Clock Req,
Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ static void rtl8821ae_init_aspm_vars(struct ieee80211_hw *hw)
23
23
struct rtl_priv * rtlpriv = rtl_priv (hw );
24
24
struct rtl_pci * rtlpci = rtl_pcidev (rtl_pcipriv (hw ));
25
25
26
- /*close ASPM for AMD defaultly */
27
- rtlpci -> const_amdpci_aspm = 0 ;
28
-
29
26
/**
30
27
* ASPM PS mode.
31
28
* 0 - Disable ASPM,
You can’t perform that action at this time.
0 commit comments