Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f8e5a4f authored by Yeleswarapu Nagaradhesh's avatar Yeleswarapu Nagaradhesh Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd_cpe_core: initialize return variable



The return variable is initialized if there is an error and is
left uninitialized otherwise. There is a possibility of returning
garbage.

CRs-Fixed: 980968
Change-Id: I2a21ef7934472ae2fd59d6277df4b3e9b401b489
Signed-off-by: default avatarYeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
parent bfb07a5c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1682,7 +1682,7 @@ done:

static int wcd_cpe_debugfs_init(struct wcd_cpe_core *core)
{
	int rc;
	int rc = 0;

	struct dentry *dir = debugfs_create_dir("wcd_cpe", NULL);
	if (IS_ERR_OR_NULL(dir)) {