From de80c1f73c7368c7619cf264fd0b5f65de1d996c Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 11 Mar 2001 02:33:59 +0000 Subject: BCD_TO_BIN doesn't return a value. --- drivers/sgi/char/ds1286.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') 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" -- cgit v1.2.3