summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-11 02:33:59 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-11 02:33:59 +0000
commitde80c1f73c7368c7619cf264fd0b5f65de1d996c (patch)
tree4a339e5c9292d50239a57cdd73db51f5db71ba23 /drivers
parent2f75105e77a06e57a8d822252531b978a637fe9c (diff)
BCD_TO_BIN doesn't return a value.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sgi/char/ds1286.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sgi/char/ds1286.c b/drivers/sgi/char/ds1286.c
index 5de2dee45..ff91453b6 100644
--- a/drivers/sgi/char/ds1286.c
+++ b/drivers/sgi/char/ds1286.c
@@ -378,7 +378,7 @@ int get_ds1286_status(char *buf)
get_rtc_time(&tm);
hundredth = CMOS_READ(RTC_HUNDREDTH_SECOND);
- hundredth = BCD_TO_BIN(hundredth);
+ BCD_TO_BIN(hundredth);
p += sprintf(p,
"rtc_time\t: %02d:%02d:%02d.%02d\n"