wifi: ath11k: Remove ath11k_base::bd_api
authorJeff Johnson <quic_jjohnson@quicinc.com>
Fri, 13 Oct 2023 14:24:08 +0000 (07:24 -0700)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 18 Oct 2023 08:30:37 +0000 (11:30 +0300)
commitb4f70ac0fa88363d2f2494c6079f5c38ff58caed
tree578bd152b981b27acfcf4c2d115e0c5843e43989
parent3e9942fbdf4d0dd80c1b76e81bcebeac0c056259
wifi: ath11k: Remove ath11k_base::bd_api

Currently struct ath11k_base defines the member bd_api. However, this
member is only accessed within ath11k_core_fetch_bdf(). Since the
scope is local just to that one function, remove it from ath11k_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-1-3fefe4629706@quicinc.com
drivers/net/wireless/ath/ath11k/core.c
drivers/net/wireless/ath/ath11k/core.h