From: Ralf Baechle Date: Tue, 15 Jul 2008 17:44:34 +0000 (+0100) Subject: [MIPS] Remove impossible ifdef and code wrapped by it. X-Git-Tag: v2.6.27-rc1~1063^2~25 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6da5e30b879394f0c55b2bbf3353d797097c8f0f;p=linux-2.6-omap-h63xx.git [MIPS] Remove impossible ifdef and code wrapped by it. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c index 637897e8e4f..744dbfc6e48 100644 --- a/arch/mips/mips-boards/generic/time.c +++ b/arch/mips/mips-boards/generic/time.c @@ -70,19 +70,6 @@ static unsigned int __init estimate_cpu_frequency(void) unsigned int prid = read_c0_prid() & 0xffff00; unsigned int count; -#ifdef CONFIG_MIPS_SIM - /* - * The SEAD board doesn't have a real time clock, so we can't - * really calculate the timer frequency - * For now we hardwire the SEAD board frequency to 12MHz. - */ - - if ((prid == (PRID_COMP_MIPS | PRID_IMP_20KC)) || - (prid == (PRID_COMP_MIPS | PRID_IMP_25KF))) - count = 12000000; - else - count = 6000000; -#endif #ifdef CONFIG_MIPS_MALTA unsigned long flags; unsigned int start;