diff options
author | Jeff Johnson <quic_jjohnson@quicinc.com> | 2023-08-21 07:13:36 -0700 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2023-08-23 17:04:29 +0300 |
commit | 9476cda44c136089f14f8951ae5197d63e91735c (patch) | |
tree | f988ff8cf4f5fffdbbc0ebe8ecd47779646a696a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 29d15589f084d71a4ea8c544039c5839db0236e2 (diff) |
wifi: ath11k: Consistently use ath11k_vif_to_arvif()
Helper function ath11k_vif_to_arvif() exists to retrieve a struct
ath11k_vif from a struct ieee80211_vif. However, in multiple places
this logic is open-coded with inline typecasting. Since the
typecasting prevents the compiler from type-checking the source and
destination, update the driver to consistently use the helper
function.
No functional changes, compile tested only.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230821-ath11k_vif_to_arvif-v1-1-fa2c3b60b5cf@quicinc.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions