From: David Daney Date: Thu, 7 Oct 2010 23:03:48 +0000 (-0700) Subject: MIPS: Octeon: Remove bogus code from octeon_get_clock_rate() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3b29dadff98887ecdc5db458c2961777016b7b86;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git MIPS: Octeon: Remove bogus code from octeon_get_clock_rate() We can run with any simulator clock rate. Get rid of the code overriding it to 6MHz. Signed-off-by: David Daney Patchwork: http://patchwork.linux-mips.org/patch/1669/ Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c index 69197cb6c7ea..fc151bebed74 100644 --- a/arch/mips/cavium-octeon/setup.c +++ b/arch/mips/cavium-octeon/setup.c @@ -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);