Messages in this thread Patch in this message | | | Date | Sun, 27 Jul 2003 21:14:08 +0100 | From | Alan Cox <> | Subject | PATCH: phonedev has an owner so this is ok too I think |
| |
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/
| |