diff mbox series

[v2,1/2] wifi: ath12k: remove duplicate definition of MAX_RADIOS

Message ID 20240514063412.3483723-2-quic_periyasa@quicinc.com (mailing list archive)
State Accepted
Commit 28bfc1c9c9d0e2165ee9e3b50793b8b463e52e01
Delegated to: Kalle Valo
Headers show
Series wifi: ath12k: Refactor MAX_RADIOS definition | expand

Commit Message

Karthikeyan Periyasamy May 14, 2024, 6:34 a.m. UTC
Remove the duplicate definition of MAX_RADIOS from the core header file.

No functional changes, compile tested only.

Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 drivers/net/wireless/ath/ath12k/core.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Kalle Valo May 16, 2024, 8:29 a.m. UTC | #1
Karthikeyan Periyasamy <quic_periyasa@quicinc.com> wrote:

> Remove the duplicate definition of MAX_RADIOS from the core header file.
> 
> No functional changes, compile tested only.
> 
> Signed-off-by: Karthikeyan Periyasamy <quic_periyasa@quicinc.com>
> Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

2 patches applied to ath-next branch of ath.git, thanks.

28bfc1c9c9d0 wifi: ath12k: remove duplicate definition of MAX_RADIOS
7678f8bfd74c wifi: ath12k: use correct MAX_RADIOS
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath12k/core.h b/drivers/net/wireless/ath/ath12k/core.h
index c6b7524ce3a0..9e3f9537087d 100644
--- a/drivers/net/wireless/ath/ath12k/core.h
+++ b/drivers/net/wireless/ath/ath12k/core.h
@@ -180,8 +180,6 @@  struct ath12k_he {
 	u32 heop_param;
 };
 
-#define MAX_RADIOS 3
-
 enum {
 	WMI_HOST_TP_SCALE_MAX   = 0,
 	WMI_HOST_TP_SCALE_50    = 1,