mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
drivers: soc: ddr_stats: Initialize the uninitialized variable
This patch can initialize the uninitialized local variables. Change-Id: I3f37a25ddaa52979657396da81830fdc8f9c2332 Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
This commit is contained in:
parent
45fdb4a9f8
commit
d37b856ed7
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ static ssize_t ddr_stats_append_data_to_buf(char *buf, int length, int *count,
|
|||
{
|
||||
u32 cp_idx = 0;
|
||||
u32 name;
|
||||
u64 duration;
|
||||
u64 duration = 0;
|
||||
|
||||
if (accumulated_duration) {
|
||||
duration = data->duration * 100;
|
||||
|
|
|
|||
Loading…
Reference in a new issue