]> git.baikalelectronics.ru Git - kernel.git/commitdiff
rtw88: remove unused parameter vif in rtw_lps_pg_info_get()
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Wed, 5 Feb 2020 07:08:52 +0000 (15:08 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 12 Feb 2020 16:18:23 +0000 (18:18 +0200)
vif is not used, remove it

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/fw.c

index 243441453eade4db348110597fe00bf66159eba7..b765b26b6926e55892485b42da639a4349591d6d 100644 (file)
@@ -819,8 +819,7 @@ static struct sk_buff *rtw_lps_pg_dpk_get(struct ieee80211_hw *hw)
        return skb;
 }
 
-static struct sk_buff *rtw_lps_pg_info_get(struct ieee80211_hw *hw,
-                                          struct ieee80211_vif *vif)
+static struct sk_buff *rtw_lps_pg_info_get(struct ieee80211_hw *hw)
 {
        struct rtw_dev *rtwdev = hw->priv;
        struct rtw_chip_info *chip = rtwdev->chip;
@@ -876,7 +875,7 @@ static struct sk_buff *rtw_get_rsvd_page_skb(struct ieee80211_hw *hw,
                skb_new = rtw_lps_pg_dpk_get(hw);
                break;
        case RSVD_LPS_PG_INFO:
-               skb_new = rtw_lps_pg_info_get(hw, vif);
+               skb_new = rtw_lps_pg_info_get(hw);
                break;
        case RSVD_PROBE_REQ:
                ssid = (struct cfg80211_ssid *)rsvd_pkt->ssid;