From aeb842465a97519dabe4f575181ff4d000e78932 Mon Sep 17 00:00:00 2001 From: Srinivas Girigowda Date: Mon, 7 Dec 2015 13:48:50 -0800 Subject: [PATCH] qcacld-3.0: Remove obsolete lim_cleanup_lmm() Remove obsolete lim_cleanup_lmm(). Change-Id: I981c80bcd2f8b2a6755977423df80660036e9bb8 CRs-Fixed: 898864 --- core/mac/src/pe/lim/lim_api.c | 1 - core/mac/src/pe/lim/lim_types.h | 3 --- core/mac/src/pe/lim/lim_utils.c | 25 ------------------------- 3 files changed, 29 deletions(-) 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() *