Skip to content

Commit

Permalink
MIPS: sead3: remove unused cpu_khz variable
Browse files Browse the repository at this point in the history
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/
  • Loading branch information
Paul Burton authored and Ralf Baechle committed Jan 23, 2014
1 parent 28a623b commit 9fbf59c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/mips/mti-sead3/sead3-time.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 9fbf59c

Please sign in to comment.