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:
Meng Yu 2021-04-01 14:50:38 +08:00 committed by Marcel Holtmann
parent d58cf00dce
commit 82a1242619
2 changed files with 0 additions and 4 deletions

View File

@ -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)

View File

@ -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);