diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-11-19 14:07:29 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-11-19 14:07:29 +0000 |
commit | 317768e15c816838284406dc3c68dfda90c18801 (patch) | |
tree | ce0bd77e355bc36273d5e67a620ff4ea5270fa8e /drivers | |
parent | e62063724c6621461f3783a9dfdc63a124d41fa9 (diff) |
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
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dahdi/dahdi-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c index 8187c10..8d8bc4b 100644 --- a/drivers/dahdi/dahdi-base.c +++ b/drivers/dahdi/dahdi-base.c @@ -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]; |