projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d2f379
)
perf_counter: Remove unused variables
author
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Wed, 22 Jul 2009 14:31:36 +0000
(16:31 +0200)
committer
Peter Zijlstra
<a.p.zijlstra@chello.nl>
Wed, 22 Jul 2009 16:05:55 +0000
(18:05 +0200)
Fix a gcc unused variables warning.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
arch/x86/kernel/cpu/perf_counter.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/perf_counter.c
b/arch/x86/kernel/cpu/perf_counter.c
index 7e346d4bc0fbdb9a9e97fdc7379002765506e2c6..a7aa8f900954811e046f397547a19e88291aaeb3 100644
(file)
--- a/
arch/x86/kernel/cpu/perf_counter.c
+++ b/
arch/x86/kernel/cpu/perf_counter.c
@@
-1570,8
+1570,6
@@
static struct x86_pmu amd_pmu = {
static int p6_pmu_init(void)
{
- int high, low;
-
switch (boot_cpu_data.x86_model) {
case 1:
case 3: /* Pentium Pro */