diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2012-12-17 16:02:49 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 17:15:21 -0800 |
commit | 162a96ea4bc77ad8d553ea5de6300b6ed70d13e1 (patch) | |
tree | 42abeaa57b9236a5829de379e6d7338b08fe9ac3 /drivers/rtc/rtc-dev.c | |
parent | 1b99732932e1e398ec84baf6024afa23f5388716 (diff) | |
download | talos-obmc-linux-162a96ea4bc77ad8d553ea5de6300b6ed70d13e1.tar.gz talos-obmc-linux-162a96ea4bc77ad8d553ea5de6300b6ed70d13e1.zip |
drivers/rtc/rtc-dev.c: remove unused code from rtc-dev.c
This code is under #if 0 and not used.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-dev.c')
-rw-r--r-- | drivers/rtc/rtc-dev.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index cace6d3aed9a..9a86b4bd8699 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c @@ -379,25 +379,6 @@ static long rtc_dev_ioctl(struct file *file, err = put_user(rtc->irq_freq, (unsigned long __user *)uarg); break; -#if 0 - case RTC_EPOCH_SET: -#ifndef rtc_epoch - /* - * There were no RTC clocks before 1900. - */ - if (arg < 1900) { - err = -EINVAL; - break; - } - rtc_epoch = arg; - err = 0; -#endif - break; - - case RTC_EPOCH_READ: - err = put_user(rtc_epoch, (unsigned long __user *)uarg); - break; -#endif case RTC_WKALM_SET: mutex_unlock(&rtc->ops_lock); if (copy_from_user(&alarm, uarg, sizeof(alarm))) |