diff options
author | Robert Richter <robert.richter@amd.com> | 2009-07-16 07:11:16 -0400 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-07-20 10:43:22 -0400 |
commit | c550091edd6fac2ed9dac1b30d986b6c58b216fa (patch) | |
tree | 2c83a70364321b929a1e79e0938d7b1287a3062c /arch | |
parent | 11be1a7b54283021777f409aa983ce125945e67c (diff) |
x86/oprofile: Small coding style fixes
Some small coding style fixes.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/oprofile/op_model_amd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/x86/oprofile/op_model_amd.c b/arch/x86/oprofile/op_model_amd.c index 1ea19829d985..827beecb67a4 100644 --- a/arch/x86/oprofile/op_model_amd.c +++ b/arch/x86/oprofile/op_model_amd.c | |||
@@ -144,11 +144,10 @@ static void op_amd_setup_ctrs(struct op_x86_model_spec const *model, | |||
144 | 144 | ||
145 | /* setup reset_value */ | 145 | /* setup reset_value */ |
146 | for (i = 0; i < NUM_VIRT_COUNTERS; ++i) { | 146 | for (i = 0; i < NUM_VIRT_COUNTERS; ++i) { |
147 | if (counter_config[i].enabled) { | 147 | if (counter_config[i].enabled) |
148 | reset_value[i] = counter_config[i].count; | 148 | reset_value[i] = counter_config[i].count; |
149 | } else { | 149 | else |
150 | reset_value[i] = 0; | 150 | reset_value[i] = 0; |
151 | } | ||
152 | } | 151 | } |
153 | 152 | ||
154 | /* clear all counters */ | 153 | /* clear all counters */ |