aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/platforms/chrp_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/platforms/chrp_time.c')
-rw-r--r--arch/ppc/platforms/chrp_time.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/ppc/platforms/chrp_time.c b/arch/ppc/platforms/chrp_time.c
index e2be0c838d8..4864a7de3da 100644
--- a/arch/ppc/platforms/chrp_time.c
+++ b/arch/ppc/platforms/chrp_time.c
@@ -115,8 +115,6 @@ int __chrp chrp_set_rtc_time(unsigned long nowtime)
115 chrp_cmos_clock_write(save_control, RTC_CONTROL); 115 chrp_cmos_clock_write(save_control, RTC_CONTROL);
116 chrp_cmos_clock_write(save_freq_select, RTC_FREQ_SELECT); 116 chrp_cmos_clock_write(save_freq_select, RTC_FREQ_SELECT);
117 117
118 if ( (time_state == TIME_ERROR) || (time_state == TIME_BAD) )
119 time_state = TIME_OK;
120 spin_unlock(&rtc_lock); 118 spin_unlock(&rtc_lock);
121 return 0; 119 return 0;
122} 120}