Commit 9fbf59cf authored by Paul Burton's avatar Paul Burton Committed by Ralf Baechle

MIPS: sead3: remove unused cpu_khz variable

This variable seems to have been copied from Malta when SEAD3 support
was introduced, but is likewise unused. 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/6172/
parent 28a623b9
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/mips-boards/generic.h> #include <asm/mips-boards/generic.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;
...@@ -109,8 +107,6 @@ void __init plat_time_init(void) ...@@ -109,8 +107,6 @@ void __init plat_time_init(void)
pr_debug("CPU frequency %d.%02d MHz\n", (est_freq / 1000000), pr_debug("CPU frequency %d.%02d MHz\n", (est_freq / 1000000),
(est_freq % 1000000) * 100 / 1000000); (est_freq % 1000000) * 100 / 1000000);
cpu_khz = est_freq / 1000;
mips_scroll_message(); mips_scroll_message();
plat_perf_setup(); plat_perf_setup();
......
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