summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2013-11-29 18:07:14 +0100
committerRalf Baechle <ralf@linux-mips.org>2014-01-23 13:02:35 +0100
commit9fbf59cfb9afb04a771ac1c68be16fb6bd070d50 (patch)
tree525e33d2f6d3ece6b0252f46ed16855a8b7e160e /arch
parentMIPS: Malta: remove unused cpu_khz variable (diff)
downloadlinux-9fbf59cfb9afb04a771ac1c68be16fb6bd070d50.tar.xz
linux-9fbf59cfb9afb04a771ac1c68be16fb6bd070d50.zip
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: Paul Burton <paul.burton@imgtec.com> Reviewed-by: Markos Chandras <markos.chandras@imgtec.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/6172/
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/mti-sead3/sead3-time.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/mips/mti-sead3/sead3-time.c b/arch/mips/mti-sead3/sead3-time.c
index 552d26c34386..678d03d53c60 100644
--- a/arch/mips/mti-sead3/sead3-time.c
+++ b/arch/mips/mti-sead3/sead3-time.c
@@ -13,8 +13,6 @@
#include <asm/irq.h>
#include <asm/mips-boards/generic.h>
-unsigned long cpu_khz;
-
static int mips_cpu_timer_irq;
static int mips_cpu_perf_irq;
@@ -109,8 +107,6 @@ void __init plat_time_init(void)
pr_debug("CPU frequency %d.%02d MHz\n", (est_freq / 1000000),
(est_freq % 1000000) * 100 / 1000000);
- cpu_khz = est_freq / 1000;
-
mips_scroll_message();
plat_perf_setup();