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

Commit 3d6fde51 authored by Hui Li's avatar Hui Li
Browse files

msm: kgsl: Initialize local variable



Initialize local variable to fix uninitialized
use of variable in devfreq_gpubw_get_target().

Change-Id: Iee6e4b31b9b9ee746612a0e7842a183840c4f855
Signed-off-by: default avatarHui Li <hul@codeaurora.org>
parent a61e7f34
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/*
 * Copyright (c) 2014-2020, The Linux Foundation. All rights reserved.
 * Copyright (c) 2014-2021, The Linux Foundation. All rights reserved.
 */

#include <linux/devfreq.h>
@@ -96,7 +96,7 @@ static int devfreq_gpubw_get_target(struct devfreq *df,
					struct msm_busmon_extended_profile,
					profile);
	struct devfreq_dev_status *stats = &df->last_status;
	struct xstats b;
	struct xstats b = {0};
	int result;
	int act_level;
	int norm_max_cycles;