提交 c550091e 编写于 作者: R Robert Richter

x86/oprofile: Small coding style fixes

Some small coding style fixes.
Signed-off-by: NRobert Richter <robert.richter@amd.com>
上级 11be1a7b
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册