linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PATCH: phonedev has an owner so this is ok too I think
@ 2003-07-27 20:14 Alan Cox
  0 siblings, 0 replies; only message in thread
From: Alan Cox @ 2003-07-27 20:14 UTC (permalink / raw)
  To: linux-kernel, torvalds

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test2/drivers/telephony/phonedev.c linux-2.6.0-test2-ac1/drivers/telephony/phonedev.c
--- linux-2.6.0-test2/drivers/telephony/phonedev.c	2003-07-10 21:11:35.000000000 +0100
+++ linux-2.6.0-test2-ac1/drivers/telephony/phonedev.c	2003-07-14 17:05:52.000000000 +0100
@@ -106,7 +106,6 @@
 		if (phone_device[i] == NULL) {
 			phone_device[i] = p;
 			p->minor = i;
-			MOD_INC_USE_COUNT;
 			up(&phone_lock);
 			return 0;
 		}
@@ -126,7 +125,6 @@
 		panic("phone: bad unregister");
 	phone_device[pfd->minor] = NULL;
 	up(&phone_lock);
-	MOD_DEC_USE_COUNT;
 }
 
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-07-28  0:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-27 20:14 PATCH: phonedev has an owner so this is ok too I think 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).