lkml.org 
[lkml]   [2004]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kill useless MOD_{INC,DEC}_USE_COUNT in sound/oss/msnd.c
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)
-
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 14:02    [W:0.046 / U:2.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site