mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-10 12:52:37 -05:00
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:
parent
a3f672fd4d
commit
be0212444b
3 changed files with 4 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue