[MIPS] Alchemy: kill useless time variables
commiteba8291b514e6e590be161afcbfdab58cc5da6b8
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Thu, 27 Mar 2008 19:05:57 +0000 (27 22:05 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:27 +0000 (28 17:14 +0100)
tree47d1b31417991d82834cba2c19a6bebb32f7e7b2
parent0167509574ef1cdb516906db5e8b6ad5ca64ab61
[MIPS] Alchemy: kill useless time variables

Since the commit 91a2fcc88634663e9e13dcdfad0e4a860e64aeee ([MIPS]
Consolidate all variants of MIPS cp0 timer interrupt handlers) removed the
Alchemy specific timer handler, 'r4k_offset' and 'r4k_cur' variables became
practically useless, so get rid of them at last, renaming cal_r4off()
function into calc_clock() and making it return CPU frequency. Also, make
'no_au1xxx_32khz' variable static...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/dbg_io.c
arch/mips/au1000/common/time.c