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@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9489 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
@@ -6091,7 +6091,7 @@ int dahdi_unregister(struct dahdi_span *span)
|
||||
{
|
||||
int x;
|
||||
int new_maxspans;
|
||||
static struct dahdi_span *new_master;
|
||||
struct dahdi_span *new_master;
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
char tempfile[17];
|
||||
|
||||
Reference in New Issue
Block a user