wifi: ath12k: Remove ath12k_base::bd_api
authorJeff Johnson <quic_jjohnson@quicinc.com>
Fri, 13 Oct 2023 14:24:09 +0000 (07:24 -0700)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 18 Oct 2023 08:30:38 +0000 (11:30 +0300)
commit2180f7ac0abeee63cc608b1c084764b67832596c
tree7801135929c76e302fa96f46d75f38623af63b3a
parentb4f70ac0fa88363d2f2494c6079f5c38ff58caed
wifi: ath12k: Remove ath12k_base::bd_api

Currently struct ath12k_base defines the member bd_api. However, this
member is only accessed within ath12k_core_fetch_bdf(). Since the
scope is local just to that one function, remove it from ath12k_base
and instead just use a local stack variable.

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/20231013-ath11k_bd_api-v1-2-3fefe4629706@quicinc.com
drivers/net/wireless/ath/ath12k/core.c
drivers/net/wireless/ath/ath12k/core.h