PATCH: phonedev has an owner so this is ok too I think

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jul 27 2003 - 15:14:08 EST


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;
 }
 
 
-
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 : Thu Jul 31 2003 - 22:00:33 EST