mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 17:43:59 +00:00
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>
This commit is contained in:
parent
1f6ea6e511
commit
7e27a0aeb9
@ -1052,6 +1052,7 @@ static inline void remove_appl_from_channel(struct bc_state *bcs,
|
||||
do {
|
||||
if (bcap->bcnext == ap) {
|
||||
bcap->bcnext = bcap->bcnext->bcnext;
|
||||
spin_unlock_irqrestore(&bcs->aplock, flags);
|
||||
return;
|
||||
}
|
||||
bcap = bcap->bcnext;
|
||||
|
Loading…
x
Reference in New Issue
Block a user