mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 13:27:06 +09:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user