]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Revert "rtc_sysfs_show_hctosys(): display 0 if resume failed"
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 8 Oct 2012 03:26:40 +0000 (14:26 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 8 Oct 2012 03:26:40 +0000 (14:26 +1100)
This reverts commit 2237ba05b6847ead773ce454566a177c84cefc4a.

drivers/rtc/class.c

index 528c99bb294af31baab8117ac0c58613b8cda687..f8a0aab218cbcd2777ea93b9e74aa96494e729fe 100644 (file)
@@ -43,8 +43,7 @@ int rtc_hctosys_ret = -ENODEV;
  */
 
 static struct timespec old_rtc, old_system, old_delta;
-/* Result of the last RTC to system clock attempt. */
-int rtc_hctosys_ret = -ENODEV;
+
 
 static int rtc_suspend(struct device *dev, pm_message_t mesg)
 {