lkml.org 
[lkml]   [2003]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: 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/
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.021 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site