]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Use an error label for error paths
authorRajat Jain <rajatja@google.com>
Wed, 1 Feb 2017 22:24:08 +0000 (14:24 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 16 Feb 2017 16:21:59 +0000 (17:21 +0100)
commit156488898cfd5d7747478638dc0b6c36054ccd73
tree89892a30413e6211e745c61e08a617d647eb4b0f
parent590bf88edae01d66b601a12ddb13b056260618c7
Bluetooth: btusb: Use an error label for error paths

Use a label to remove the repetetive cleanup, for error cases.

Signed-off-by: Rajat Jain <rajatja@google.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c