* [PATCH] kill useless MOD_{INC,DEC}_USE_COUNT in sound/oss/msnd.c
@ 2004-05-07 10:44 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-05-07 10:44 UTC (permalink / raw)
To: akpm; +Cc: linux-kernel
callers are exported register/unregister handlers so the module is
locked in core by users of said exports.
--- 1.7/sound/oss/msnd.c Thu Feb 19 04:42:59 2004
+++ edited/sound/oss/msnd.c Mon May 3 13:30:22 2004
@@ -59,9 +59,6 @@
devs[i] = dev;
++num_devs;
-
- MOD_INC_USE_COUNT;
-
return 0;
}
@@ -80,8 +77,6 @@
devs[i] = NULL;
--num_devs;
-
- MOD_DEC_USE_COUNT;
}
int msnd_get_num_devs(void)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-07 10:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-07 10:44 [PATCH] kill useless MOD_{INC,DEC}_USE_COUNT in sound/oss/msnd.c Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®