From e44decbd7b70929f53ef932a092c6a5374b84297 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Sun, 6 Jan 2019 13:42:40 -0800 Subject: [PATCH] qcacld-3.0: Remove unused sch_beacon_process macros The SCH_BEACON_LEN_DELTA and CW_GET macros in sch_beacon_process.c are unused, so remove them. Change-Id: I539f637534f576f2bab6fd432d0a365ec62b8a6b CRs-Fixed: 2380766 --- core/mac/src/pe/sch/sch_beacon_process.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/mac/src/pe/sch/sch_beacon_process.c b/core/mac/src/pe/sch/sch_beacon_process.c index 0acaf4747a7f..390e3866bc26 100644 --- a/core/mac/src/pe/sch/sch_beacon_process.c +++ b/core/mac/src/pe/sch/sch_beacon_process.c @@ -48,14 +48,6 @@ #endif /* FEATURE_WLAN_DIAG_SUPPORT */ #include "wma.h" -/** - * Number of bytes of variation in beacon length from the last beacon - * to trigger reprogramming of rx delay register - */ -#define SCH_BEACON_LEN_DELTA 3 - -/* calculate 2^cw - 1 */ -#define CW_GET(cw) (((cw) == 0) ? 1 : ((1 << (cw)) - 1)) static void ap_beacon_process_5_ghz(struct mac_context *mac_ctx, uint8_t *rx_pkt_info,