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: Olav Haugan <ohaugan@codeaurora.org>
This commit is contained in:
Olav Haugan 2016-07-16 11:31:24 -07:00
parent e3473cacaa
commit bf25090979

View file

@ -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;