Remove an unused variable

This commit is contained in:
Gregory Nutt
2015-02-15 08:51:39 -06:00
parent 5cb233f712
commit a919e70121
+1 -2
View File
@@ -233,13 +233,12 @@ static int stm32_settime(FAR struct rtc_lowerhalf_s *lower,
#else #else
struct timespec ts; struct timespec ts;
int ret;
/* Convert the struct rtc_time to a time_t. Here we assume that struct /* Convert the struct rtc_time to a time_t. Here we assume that struct
* rtc_time is cast compatible with struct tm. * rtc_time is cast compatible with struct tm.
*/ */
ts.tv_sec = mktime((FAR const struct tm *)rtctime) ts.tv_sec = mktime((FAR const struct tm *)rtctime)
ts.tv_nsec = 0; ts.tv_nsec = 0;
/* Now set the time (to one second accuracy) */ /* Now set the time (to one second accuracy) */