Skip to content

Commit 6da5e30

Browse files
committed
[MIPS] Remove impossible ifdef and code wrapped by it.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent 1398ddb commit 6da5e30

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

  • arch/mips/mips-boards/generic

‎arch/mips/mips-boards/generic/time.c‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -70,19 +70,6 @@ static unsigned int __init estimate_cpu_frequency(void)
7070
unsigned int prid = read_c0_prid() & 0xffff00;
7171
unsigned int count;
7272

73-
#ifdef CONFIG_MIPS_SIM
74-
/*
75-
* The SEAD board doesn't have a real time clock, so we can't
76-
* really calculate the timer frequency
77-
* For now we hardwire the SEAD board frequency to 12MHz.
78-
*/
79-
80-
if ((prid == (PRID_COMP_MIPS | PRID_IMP_20KC)) ||
81-
(prid == (PRID_COMP_MIPS | PRID_IMP_25KF)))
82-
count = 12000000;
83-
else
84-
count = 6000000;
85-
#endif
8673
#ifdef CONFIG_MIPS_MALTA
8774
unsigned long flags;
8875
unsigned int start;

0 commit comments

Comments
 (0)