summaryrefslogtreecommitdiff
path: root/net/bluetooth/l2cap_core.c
diff options
context:
space:
mode:
authorMeng Yu <yumeng18@huawei.com>2021-04-01 14:50:38 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-04-02 11:01:35 +0200
commit82a1242619d0db39ca710538fa2a53623a1022c8 (patch)
treedc6ab2235a68d71d1e5a2ad4bc3c28162dc95909 /net/bluetooth/l2cap_core.c
parentd58cf00dcedb9882ba6e933443371444d8a23b77 (diff)
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>
Diffstat (limited to 'net/bluetooth/l2cap_core.c')
-rw-r--r--net/bluetooth/l2cap_core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 7641fdfb2628..a3b1d40b8750 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -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);