Skip to content

Commit

Permalink
x86/oprofile: Small coding style fixes
Browse files Browse the repository at this point in the history
Some small coding style fixes.

Signed-off-by: Robert Richter <robert.richter@amd.com>
  • Loading branch information
Robert Richter committed Jul 20, 2009
1 parent 11be1a7 commit c550091
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions arch/x86/oprofile/op_model_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit c550091

Please sign in to comment.