Commit a5b484fd authored by Alan Cox's avatar Alan Cox Committed by Steve French

[PATCH] genrtc sets owner fields so..

parent ecfe832e
......@@ -355,8 +355,6 @@ static int gen_rtc_open(struct inode *inode, struct file *file)
if (gen_rtc_status & RTC_IS_OPEN)
return -EBUSY;
MOD_INC_USE_COUNT;
gen_rtc_status |= RTC_IS_OPEN;
gen_rtc_irq_data = 0;
irq_active = 0;
......@@ -374,8 +372,6 @@ static int gen_rtc_release(struct inode *inode, struct file *file)
gen_clear_rtc_irq_bit(RTC_PIE|RTC_AIE|RTC_UIE);
gen_rtc_status &= ~RTC_IS_OPEN;
MOD_DEC_USE_COUNT;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment