diff mbox series

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

Message ID 20240511013644.3103905-2-quic_periyasa@quicinc.com
State New
Headers show
Series wifi: ath12k: Refactor MAX_RADIOS definition | expand

Commit Message

Karthikeyan Periyasamy May 11, 2024, 1:36 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>
---
 drivers/net/wireless/ath/ath12k/core.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Jeff Johnson May 13, 2024, 11:28 p.m. UTC | #1
On 5/10/2024 6:36 PM, Karthikeyan Periyasamy 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>
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath12k/core.h b/drivers/net/wireless/ath/ath12k/core.h
index bb6c1b562baf..345d47fe63ff 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,