mbox series

[0/2] wifi: ath: Remove ath*_base::bd_api

Message ID 20231013-ath11k_bd_api-v1-0-3fefe4629706@quicinc.com (mailing list archive)
Headers show
Series wifi: ath: Remove ath*_base::bd_api | expand

Message

Jeff Johnson Oct. 13, 2023, 2:24 p.m. UTC
Both ath11k and ath12k inherited the bd_api member in their struct
ath*_base.  In ath10k this member is accessed from both
ath10k_core_fetch_board_file() and ath10k_debug_print_board_info(), so
it is justified. However, in ath11k and ath12k, this member is only
used within a single function, so it is not justified in those
drivers.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
Jeff Johnson (2):
      wifi: ath11k: Remove ath11k_base::bd_api
      wifi: ath12k: Remove ath12k_base::bd_api

 drivers/net/wireless/ath/ath11k/core.c | 7 ++++---
 drivers/net/wireless/ath/ath11k/core.h | 1 -
 drivers/net/wireless/ath/ath12k/core.c | 7 ++++---
 drivers/net/wireless/ath/ath12k/core.h | 1 -
 4 files changed, 8 insertions(+), 8 deletions(-)
---
base-commit: 13556aef0bdc0e98df7b6bf2e10d706c59dce6f4
change-id: 20231011-ath11k_bd_api-a9c1678e4cbc