Commit 28a623b9 authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle

MIPS: Malta: remove unused cpu_khz variable

This variable was introduced by commit 96348c8f (of Ralf's historic
Linux/MIPS repository) "Remaining fixes for MIPS's eval boards." but
I don't see any use of it either then or now. Remove it.
Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
Reviewed-by: default avatarMarkos Chandras <markos.chandras@imgtec.com>
Reviewed-by: default avatarJames Hogan <james.hogan@imgtec.com>
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6171/
parent ce4126cb
...@@ -42,8 +42,6 @@ ...@@ -42,8 +42,6 @@
#include <asm/mips-boards/generic.h> #include <asm/mips-boards/generic.h>
#include <asm/mips-boards/maltaint.h> #include <asm/mips-boards/maltaint.h>
unsigned long cpu_khz;
static int mips_cpu_timer_irq; static int mips_cpu_timer_irq;
static int mips_cpu_perf_irq; static int mips_cpu_perf_irq;
extern int cp0_perfcount_irq; extern int cp0_perfcount_irq;
...@@ -182,7 +180,6 @@ void __init plat_time_init(void) ...@@ -182,7 +180,6 @@ void __init plat_time_init(void)
freq = freqround(freq, 5000); freq = freqround(freq, 5000);
printk("CPU frequency %d.%02d MHz\n", freq/1000000, printk("CPU frequency %d.%02d MHz\n", freq/1000000,
(freq%1000000)*100/1000000); (freq%1000000)*100/1000000);
cpu_khz = freq / 1000;
mips_scroll_message(); mips_scroll_message();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment