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

Commit bf250909 authored by Olav Haugan's avatar Olav Haugan
Browse files

sched/core: Fix uninitialized variable used for tracepoint



When predictive dcvs is enabled a tracepoint will log a value that is
garbage due to being uninitialized. Fix this.

CRs-fixed: 1042660
Change-Id: I2b94e78f2470dbc2fd469b5cab287d643e8f3227
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent e3473cac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2053,7 +2053,7 @@ static int send_notification(struct rq *rq, int check_pred, int check_groups)
	unsigned int cur_freq, freq_required;
	unsigned long flags;
	int rc = 0;
	u64 group_load = 0, new_load;
	u64 group_load = 0, new_load  = 0;

	if (!sched_enable_hmp)
		return 0;