ath10k: remove ath10k_vif_to_arvif()
it adds unnecessary level of indirection, while we just access structure field Signed-off-by: Amadeusz Sławiński <amadeusz.slawinski@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:

committed by
Kalle Valo

parent
3b03cc0783
commit
56ac13bfc7
@@ -1779,7 +1779,7 @@ unlock:
|
||||
static void ath10k_wmi_tx_beacons_iter(void *data, u8 *mac,
|
||||
struct ieee80211_vif *vif)
|
||||
{
|
||||
struct ath10k_vif *arvif = ath10k_vif_to_arvif(vif);
|
||||
struct ath10k_vif *arvif = (void *)vif->drv_priv;
|
||||
|
||||
ath10k_wmi_tx_beacon_nowait(arvif);
|
||||
}
|
||||
|
Reference in New Issue
Block a user