qcacld-3.0: Remove un-used cds_context argument from post_disable

cds_post_disable does not use cds_context argument hence remove it.

Change-Id: I44f78b5544431c2ebe06748c058ecb2279711ff9
CRs-Fixed: 2008071
This commit is contained in:
Rajeev Kumar 2017-02-16 16:12:23 -08:00 • committed by snandini
commit be0212444b
3 changed files with 4 additions and 5 deletions

View file

@ -219,7 +219,7 @@ QDF_STATUS cds_enable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context);
QDF_STATUS cds_disable(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context);
QDF_STATUS cds_post_disable(v_CONTEXT_t cds_context);
QDF_STATUS cds_post_disable(void);
QDF_STATUS cds_close(struct wlan_objmgr_psoc *psoc, v_CONTEXT_t cds_context);

View file

@ -948,11 +948,10 @@ static inline void cds_suspend_target(tp_wma_handle wma_handle)
/**
* cds_post_disable() - post disable cds module
* @cds_context: CDS context
*
* Return: QDF status
*/
QDF_STATUS cds_post_disable(v_CONTEXT_t cds_context)
QDF_STATUS cds_post_disable(void)
{
tp_wma_handle wma_handle;
struct hif_opaque_softc *hif_ctx;

View file

@ -2119,7 +2119,7 @@ int hdd_wlan_start_modules(hdd_context_t *hdd_ctx, hdd_adapter_t *adapter,
return 0;
post_disable:
cds_post_disable(hdd_ctx->pcds_context);
cds_post_disable();
close:
hdd_ctx->driver_status = DRIVER_MODULES_CLOSED;
@ -8960,7 +8960,7 @@ int hdd_wlan_stop_modules(hdd_context_t *hdd_ctx, bool ftm_mode)
goto done;
}
qdf_status = cds_post_disable(hdd_ctx->pcds_context);
qdf_status = cds_post_disable();
if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
hdd_err("Failed to process post CDS disable Modules! :%d",
qdf_status);