PATCH: genrtc sets owner fields so..

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Jul 11 2003 - 13:05:16 EST


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;
 }
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:40 EST