]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/bluetooth/btusb.c
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)
commit10ab133b7a1a7265600d580d9e056d86aea70b53
tree89892a30413e6211e745c61e08a617d647eb4b0f
parent747d3f1a8a2fc4d8447c63205421a6a67f22799b
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