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:
parent
e3473cacaa
commit
bf25090979
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue