diff options
author | Dan Carpenter <error27@gmail.com> | 2010-08-05 18:23:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-08 02:04:11 -0400 |
commit | 7e27a0aeb98d53539bdc38384eee899d6db62617 (patch) | |
tree | 5845ca409ab6db6b511a29300eb7e8d8e5016ea6 /drivers/isdn/gigaset | |
parent | 1f6ea6e511e5ec730d8e88651da1b7b6e8fd1333 (diff) |
isdn: gigaset: add missing unlock
We should unlock here. This is the only place where we return from the
function with the lock held. The caller isn't expecting it.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset')
-rw-r--r-- | drivers/isdn/gigaset/capi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/isdn/gigaset/capi.c b/drivers/isdn/gigaset/capi.c index e5ea344a551a..bcc174e4f3b1 100644 --- a/drivers/isdn/gigaset/capi.c +++ b/drivers/isdn/gigaset/capi.c | |||
@@ -1052,6 +1052,7 @@ static inline void remove_appl_from_channel(struct bc_state *bcs, | |||
1052 | do { | 1052 | do { |
1053 | if (bcap->bcnext == ap) { | 1053 | if (bcap->bcnext == ap) { |
1054 | bcap->bcnext = bcap->bcnext->bcnext; | 1054 | bcap->bcnext = bcap->bcnext->bcnext; |
1055 | spin_unlock_irqrestore(&bcs->aplock, flags); | ||
1055 | return; | 1056 | return; |
1056 | } | 1057 | } |
1057 | bcap = bcap->bcnext; | 1058 | bcap = bcap->bcnext; |