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

Commit 4a97bc21 authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian Committed by Rohit Vaswani
Browse files

soc: qcom: spm: Fix uninitialized variable warning



Initialize local variable to 0 to fix uninitialized variable warning.

Change-Id: I8aa718e0656e2c89280292219400df8eae20ba7e
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
parent 99fdd93a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -238,7 +238,7 @@ static int msm_spm_dev_set_low_power_mode(struct msm_spm_device *dev,
{
	uint32_t i;
	int ret = -EINVAL;
	uint32_t ctl;
	uint32_t ctl = 0;

	if (!dev) {
		pr_err("dev is NULL\n");