[svn-commits] sruffell: linux/trunk r9489 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Nov 19 08:07:34 CST 2010
Author: sruffell
Date: Fri Nov 19 08:07:29 2010
New Revision: 9489
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9489
Log:
dahdi: In dahdi_unregister() 'new_master' should not be static.
The first place new_master is referenced after the definition is to
assign it to the value of the current master.
Signed-off-by: Shaun Ruffell <sruffell at digium.com>
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=9489&r1=9488&r2=9489
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Fri Nov 19 08:07:29 2010
@@ -6091,7 +6091,7 @@
{
int x;
int new_maxspans;
- static struct dahdi_span *new_master;
+ struct dahdi_span *new_master;
#ifdef CONFIG_PROC_FS
char tempfile[17];
More information about the svn-commits
mailing list