Bluetooth: consolidate error paths in hci_phy_link_complete_evt()
authorSergey Shtylyov <s.shtylyov@omprussia.ru>
Wed, 7 Oct 2020 15:54:15 +0000 (18:54 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Nov 2020 11:11:03 +0000 (12:11 +0100)
commit3ae1dc756f48ba33428c7f958e9f19fa8244672c
treea26285dfe9e1891afceccfaff0b01ebb812118a5
parent2be43abac5a839d44bf9d14716573ae0ac920f2b
Bluetooth: consolidate error paths in hci_phy_link_complete_evt()

hci_phy_link_complete_evt() has several duplicate error paths -- consolidate
them, using the *goto* statements.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omprussia.ru>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_event.c