summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/6lowpan.c
diff options
context:
space:
mode:
authorMeng Yu <yumeng18@huawei.com>2021-04-01 08:50:38 +0200
committerMarcel Holtmann <marcel@holtmann.org>2021-04-02 11:01:35 +0200
commit82a1242619d0db39ca710538fa2a53623a1022c8 (patch)
treedc6ab2235a68d71d1e5a2ad4bc3c28162dc95909 /net/bluetooth/6lowpan.c
parentBluetooth: Increment management interface revision (diff)
downloadlinux-82a1242619d0db39ca710538fa2a53623a1022c8.tar.xz
linux-82a1242619d0db39ca710538fa2a53623a1022c8.zip
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/6lowpan.c')
-rw-r--r--net/bluetooth/6lowpan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c
index cff4944d5b66..19f7e42db1b0 100644
--- a/net/bluetooth/6lowpan.c
+++ b/net/bluetooth/6lowpan.c
@@ -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)