MIPS: Octeon: Remove bogus code from octeon_get_clock_rate()
authorDavid Daney <ddaney@caviumnetworks.com>
Thu, 7 Oct 2010 23:03:48 +0000 (16:03 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 29 Oct 2010 18:08:39 +0000 (19:08 +0100)
We can run with any simulator clock rate.  Get rid of the code
overriding it to 6MHz.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Patchwork: http://patchwork.linux-mips.org/patch/1669/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/setup.c

index 69197cb6c7ea106349a23ad5b81f615a8c70c614..fc151bebed74b7aee5bca45edd32f5da72a9ea5a 100644 (file)
@@ -96,8 +96,6 @@ int octeon_is_pci_host(void)
  */
 uint64_t octeon_get_clock_rate(void)
 {
-       if (octeon_is_simulation())
-               octeon_bootinfo->eclock_hz = 6000000;
        return octeon_bootinfo->eclock_hz;
 }
 EXPORT_SYMBOL(octeon_get_clock_rate);