forked from Minki/linux
Bluetooth: Remove 'return' in void function
void function return statements are not generally useful. Signed-off-by: Meng Yu <yumeng18@huawei.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
parent
d58cf00dce
commit
82a1242619
@ -841,8 +841,6 @@ static void chan_close_cb(struct l2cap_chan *chan)
|
||||
} else {
|
||||
spin_unlock(&devices_lock);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void chan_state_change_cb(struct l2cap_chan *chan, int state, int err)
|
||||
|
@ -676,8 +676,6 @@ void l2cap_chan_del(struct l2cap_chan *chan, int err)
|
||||
skb_queue_purge(&chan->tx_q);
|
||||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(l2cap_chan_del);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user