[svn-commits] sruffell: branch sruffell/zaptel-1.4-transcoder r4244 - /team/sruffell/zaptel...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu May 8 13:18:49 CDT 2008
Author: sruffell
Date: Thu May 8 13:18:48 2008
New Revision: 4244
URL: http://svn.digium.com/view/zaptel?view=rev&rev=4244
Log:
No need to keep a reference count in the network interface.
Modified:
team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/wcdte_net.c
Modified: team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/wcdte_net.c
URL: http://svn.digium.com/view/zaptel/team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/wcdte_net.c?view=diff&rev=4244&r1=4243&r2=4244
==============================================================================
--- team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/wcdte_net.c (original)
+++ team/sruffell/zaptel-1.4-transcoder/kernel/wctc4xxp/wcdte_net.c Thu May 8 13:18:48 2008
@@ -45,7 +45,11 @@
{
struct wcdte *wc = netdev->priv;
DTE_DEBUG(DTE_DEBUG_GENERAL, "%s\n", __FUNCTION__);
- module_put(THIS_MODULE);
+#if 0
+ if (!try_module_get(THIS_MODULE)) {
+ return -EBUSY;
+ }
+#endif
return 0;
}
@@ -53,7 +57,9 @@
{
struct wcdte *wc = netdev->priv;
DTE_DEBUG(DTE_DEBUG_GENERAL, "%s\n", __FUNCTION__);
- __module_get(THIS_MODULE);
+#if 0
+ module_put(THIS_MODULE);
+#endif
return 0;
}
More information about the svn-commits
mailing list