Browse Source

qcacld-3.0: Remove obsolete rrm code

Remove obsolete rrm functions that are not being used.

Change-Id: I718009cad4f3f5fc9c060753940b61a071432013
CRs-Fixed: 1073378
Naveen Rawat 8 năm trước cách đây
mục cha
commit
3afe3c9492
2 tập tin đã thay đổi với 2 bổ sung35 xóa
  1. 1 3
      core/mac/src/pe/include/rrm_api.h
  2. 1 32
      core/mac/src/pe/rrm/rrm_api.c

+ 1 - 3
core/mac/src/pe/include/rrm_api.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2012, 2014-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2012, 2014-2017 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -71,8 +71,6 @@ extern tSirRetStatus rrm_process_neighbor_report_response(tpAniSirGlobal pMac,
 							  tpPESession
 							  pSessionEntry);
 
-extern void rrm_process_message(tpAniSirGlobal pMac, tpSirMsgQ pMsg);
-
 extern tSirRetStatus rrm_send_set_max_tx_power_req(tpAniSirGlobal pMac,
 						   int8_t txPower,
 						   tpPESession pSessionEntry);

+ 1 - 32
core/mac/src/pe/rrm/rrm_api.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -1333,37 +1333,6 @@ tSirRetStatus rrm_cleanup(tpAniSirGlobal pMac)
 	return eSIR_SUCCESS;
 }
 
-/* -------------------------------------------------------------------- */
-/**
- * rrm_process_message
- *
- * FUNCTION:  Processes the next received Radio Resource Management message
- *
- * LOGIC:
- *
- * ASSUMPTIONS:
- *
- * NOTE:
- *
- * @param None
- * @return None
- */
-
-void rrm_process_message(tpAniSirGlobal pMac, tpSirMsgQ pMsg)
-{
-	switch (pMsg->type) {
-	case eWNI_SME_NEIGHBOR_REPORT_REQ_IND:
-		rrm_process_neighbor_report_req(pMac, pMsg->bodyptr);
-		break;
-	case eWNI_SME_BEACON_REPORT_RESP_XMIT_IND:
-		rrm_process_beacon_report_xmit(pMac, pMsg->bodyptr);
-		break;
-	default:
-		lim_log(pMac, LOGE, FL("Invalid msg type:%d"), pMsg->type);
-	}
-
-}
-
 /**
  * lim_update_rrm_capability() - Update PE context's rrm capability
  * @mac_ctx: Global pointer to MAC context