* PATCH: genrtc sets owner fields so..
@ 2003-07-11 18:05 Alan Cox
0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2003-07-11 18:05 UTC (permalink / raw)
To: linux-kernel, torvalds
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.75/drivers/char/genrtc.c linux-2.5.75-ac1/drivers/char/genrtc.c
--- linux-2.5.75/drivers/char/genrtc.c 2003-07-10 21:14:22.000000000 +0100
+++ linux-2.5.75-ac1/drivers/char/genrtc.c 2003-07-11 14:29:57.000000000 +0100
@@ -355,8 +355,6 @@
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 @@
gen_clear_rtc_irq_bit(RTC_PIE|RTC_AIE|RTC_UIE);
gen_rtc_status &= ~RTC_IS_OPEN;
- MOD_DEC_USE_COUNT;
-
return 0;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-11 17:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-11 18:05 PATCH: genrtc sets owner fields so Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).