diff options
author | Robert Drehmel <robert@FreeBSD.org> | 2001-10-09 16:06:28 +0000 |
---|---|---|
committer | Robert Drehmel <robert@FreeBSD.org> | 2001-10-09 16:06:28 +0000 |
commit | 1e8ff53804371267b3362f238995891d5f390e49 (patch) | |
tree | baff7a29ce2ea7db0d19d4cb53284116fc0d65af /sys/i386/isa/clock.c | |
parent | 21828a36762a6c89a5a44971aabfd495eb0fc5e3 (diff) |
Remove an unneeded variable declaration and statement.
Approved by: jake
Notes
Notes:
svn path=/head/; revision=84721
Diffstat (limited to 'sys/i386/isa/clock.c')
-rw-r--r-- | sys/i386/isa/clock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c index 1893b197009b..13e11a4315a2 100644 --- a/sys/i386/isa/clock.c +++ b/sys/i386/isa/clock.c @@ -858,7 +858,6 @@ void inittodr(time_t base) { unsigned long sec, days; - int yd; int year, month; int y, m, s; struct timespec ts; @@ -901,7 +900,6 @@ inittodr(time_t base) if ((month > 2) && LEAPYEAR(year)) days ++; days += readrtc(RTC_DAY) - 1; - yd = days; for (y = 1970; y < year; y++) days += DAYSPERYEAR + LEAPYEAR(y); sec = ((( days * 24 + |