提交 65ae64d3 编写于 作者: Y Yan-Hsuan Chuang 提交者: Kalle Valo

rtw88: remove unused vif pointer in struct rtw_vif

As driver can easily get vif with container_of(), we can
just remove it.
Signed-off-by: NYan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 962562cd
...@@ -153,7 +153,6 @@ static int rtw_ops_add_interface(struct ieee80211_hw *hw, ...@@ -153,7 +153,6 @@ static int rtw_ops_add_interface(struct ieee80211_hw *hw,
u8 bcn_ctrl = 0; u8 bcn_ctrl = 0;
rtwvif->port = port; rtwvif->port = port;
rtwvif->vif = vif;
rtwvif->stats.tx_unicast = 0; rtwvif->stats.tx_unicast = 0;
rtwvif->stats.rx_unicast = 0; rtwvif->stats.rx_unicast = 0;
rtwvif->stats.tx_cnt = 0; rtwvif->stats.tx_cnt = 0;
......
...@@ -736,7 +736,6 @@ struct rtw_bf_info { ...@@ -736,7 +736,6 @@ struct rtw_bf_info {
}; };
struct rtw_vif { struct rtw_vif {
struct ieee80211_vif *vif;
enum rtw_net_type net_type; enum rtw_net_type net_type;
u16 aid; u16 aid;
u8 mac_addr[ETH_ALEN]; u8 mac_addr[ETH_ALEN];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册