Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47924
b: refs/heads/master
c: efc4713
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Kosina authored and Linus Torvalds committed Feb 12, 2007
1 parent 5ed56f9 commit 97e5b02
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2869b23e4b95cbafffcd2fe110d77aff8c218405
refs/heads/master: efc47135e4b6f7e7d81332f50ef68e4a42819d20
2 changes: 0 additions & 2 deletions trunk/drivers/char/ds1302.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ get_rtc_time(struct rtc_time *rtc_tm)
unsigned long flags;

local_irq_save(flags);
local_irq_disable();

rtc_tm->tm_sec = CMOS_READ(RTC_SECONDS);
rtc_tm->tm_min = CMOS_READ(RTC_MINUTES);
Expand Down Expand Up @@ -219,7 +218,6 @@ rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
BIN_TO_BCD(yrs);

local_irq_save(flags);
local_irq_disable();
CMOS_WRITE(yrs, RTC_YEAR);
CMOS_WRITE(mon, RTC_MONTH);
CMOS_WRITE(day, RTC_DAY_OF_MONTH);
Expand Down

0 comments on commit 97e5b02

Please sign in to comment.