Переглянути джерело

qcacld-3.0: Remove p_cds_gctx from struct sSapContext

The p_cds_gctx field in struct sSapContext is not used, so remove it.

Change-Id: I9eb6f651a359bf12f23ec094887ca308c834bae1
CRs-Fixed: 2109957
Jeff Johnson 7 роки тому
батько
коміт
ef20675305
2 змінених файлів з 0 додано та 6 видалено
  1. 0 3
      core/sap/src/sap_internal.h
  2. 0 3
      core/sap/src/sap_module.c

+ 0 - 3
core/sap/src/sap_internal.h

@@ -169,9 +169,6 @@ typedef struct sSapContext {
 	/* SAP event Callback to hdd */
 	tpWLAN_SAPEventCB pfnSapEventCallback;
 
-	/* Include the enclosing CDS context here */
-	void *p_cds_gctx;
-
 	/*
 	 * Include the state machine structure here, state var that keeps
 	 * track of state machine

+ 0 - 3
core/sap/src/sap_module.c

@@ -278,9 +278,6 @@ void *wlansap_open(void *p_cds_gctx)
 	/* Clean up SAP control block, initialize all values */
 	QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_DEBUG, FL("Enter"));
 
-	/* Setup the "link back" to the CDS context */
-	pSapCtx->p_cds_gctx = p_cds_gctx;
-
 	/* Save the SAP context pointer */
 	status = wlansap_save_context(pSapCtx);
 	if (QDF_IS_STATUS_ERROR(status)) {