diff --git a/core/mac/src/pe/lim/lim_api.c b/core/mac/src/pe/lim/lim_api.c index bb825e71cc70..130d3f648737 100644 --- a/core/mac/src/pe/lim/lim_api.c +++ b/core/mac/src/pe/lim/lim_api.c @@ -670,7 +670,6 @@ void lim_cleanup(tpAniSirGlobal pMac) } lim_cleanup_mlm(pMac); - lim_cleanup_lmm(pMac); /* free up preAuth table */ if (pMac->lim.gLimPreAuthTimerTable.pTable != NULL) { diff --git a/core/mac/src/pe/lim/lim_types.h b/core/mac/src/pe/lim/lim_types.h index e03973065135..fab829f3f43b 100644 --- a/core/mac/src/pe/lim/lim_types.h +++ b/core/mac/src/pe/lim/lim_types.h @@ -423,9 +423,6 @@ void lim_init_mlm(tpAniSirGlobal); /* Function to cleanup MLM state machine */ void lim_cleanup_mlm(tpAniSirGlobal); -/* Function to cleanup LMM state machine */ -void lim_cleanup_lmm(tpAniSirGlobal); - /* Management frame handling functions */ void lim_process_beacon_frame(tpAniSirGlobal, uint8_t *, tpPESession); void lim_process_beacon_frame_no_session(tpAniSirGlobal, uint8_t *); diff --git a/core/mac/src/pe/lim/lim_utils.c b/core/mac/src/pe/lim/lim_utils.c index 28f4a84b0e55..6b6b95c14d91 100644 --- a/core/mac/src/pe/lim/lim_utils.c +++ b/core/mac/src/pe/lim/lim_utils.c @@ -753,31 +753,6 @@ void lim_cleanup_mlm(tpAniSirGlobal mac_ctx) } /*** end lim_cleanup_mlm() ***/ -/** - * lim_cleanup_lmm() - * - ***FUNCTION: - * This function is called to cleanup any resources - * allocated by LMM sub-module. - * - ***PARAMS: - * - ***LOGIC: - * - ***ASSUMPTIONS: - * NA - * - ***NOTE: - * NA - * - * @param pMac Pointer to Global MAC structure - * @return None - */ - -void lim_cleanup_lmm(tpAniSirGlobal pMac) -{ -} /*** end lim_cleanup_lmm() ***/ - /** * lim_is_addr_bc() *