mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
x86/oprofile: Small coding style fixes
Some small coding style fixes. Signed-off-by: Robert Richter <robert.richter@amd.com>
This commit is contained in:
parent
11be1a7b54
commit
c550091edd
1 changed files with 2 additions and 3 deletions
|
|
@ -144,11 +144,10 @@ static void op_amd_setup_ctrs(struct op_x86_model_spec const *model,
|
|||
|
||||
/* setup reset_value */
|
||||
for (i = 0; i < NUM_VIRT_COUNTERS; ++i) {
|
||||
if (counter_config[i].enabled) {
|
||||
if (counter_config[i].enabled)
|
||||
reset_value[i] = counter_config[i].count;
|
||||
} else {
|
||||
else
|
||||
reset_value[i] = 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* clear all counters */
|
||||
|
|
|
|||
Loading…
Reference in a new issue