aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/loongson/common
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-09-20 18:57:28 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-20 18:57:28 -0400
commitdcbb5593d980bbf4ceef320f8c75210398ed84db (patch)
treeaa712d3a48cb34087220a9af4c66953020d87ebf /arch/mips/loongson/common
parent996a798abb36aa92d0bad64ba23f4c685ce39537 (diff)
loongson: fix cut-and-paste mis-merge
Ingo points out that I screwed up when merging the 'timers-for-linus' branch in commit a03fdb7612874834d6847107198712d18b5242c7. A bit too much copy-and-pasting caused the end result to have an extraneous 'return' in the middle of an expression. That was obviously bogus. Blush. Reported-by-with-patch: Ingo Molnar <mingo@elte.hu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mips/loongson/common')
-rw-r--r--arch/mips/loongson/common/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/loongson/common/time.c b/arch/mips/loongson/common/time.c
index 0edbef32b862..6e08c8270abe 100644
--- a/arch/mips/loongson/common/time.c
+++ b/arch/mips/loongson/common/time.c
@@ -23,6 +23,6 @@ void __init plat_time_init(void)
23 23
24void read_persistent_clock(struct timespec *ts) 24void read_persistent_clock(struct timespec *ts)
25{ 25{
26 ts->tv_sec = return mc146818_get_cmos_time(); 26 ts->tv_sec = mc146818_get_cmos_time();
27 ts->tv_nsec = 0; 27 ts->tv_nsec = 0;
28} 28}