|
@@ -166,10 +166,8 @@ QDF_STATUS cds_init(void)
|
|
|
QDF_STATUS ret;
|
|
|
|
|
|
ret = qdf_debugfs_init();
|
|
|
- if (ret != QDF_STATUS_SUCCESS) {
|
|
|
+ if (ret != QDF_STATUS_SUCCESS)
|
|
|
cds_err("Failed to init debugfs");
|
|
|
- goto err_ret;
|
|
|
- }
|
|
|
|
|
|
qdf_lock_stats_init();
|
|
|
qdf_mem_init();
|
|
@@ -208,7 +206,6 @@ deinit:
|
|
|
gp_cds_context->qdf_ctx = NULL;
|
|
|
gp_cds_context = NULL;
|
|
|
qdf_mem_zero(&g_cds_context, sizeof(g_cds_context));
|
|
|
-err_ret:
|
|
|
return ret;
|
|
|
}
|
|
|
|