]> asedeno.scripts.mit.edu Git - linux.git/commit
Bluetooth: Use common error handling code in bt_init()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 8 Nov 2017 07:03:04 +0000 (08:03 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 12 Dec 2017 23:28:40 +0000 (00:28 +0100)
commit1b259904a2d0ad8c57feb498932bed5171112af3
tree167d165d69f2cd462ecf1b1ca07ad465a403b157
parentba8f3597900291a93604643017fff66a14546015
Bluetooth: Use common error handling code in bt_init()

* Improve jump targets so that a bit of exception handling can be better
  reused at the end of this function.

* Adjust five condition checks.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/af_bluetooth.c