diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2020-06-05 11:46:11 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2020-06-08 10:14:26 +0200 |
commit | 4da385f742d485fe3135a2711299cbf28ea24bc9 (patch) | |
tree | 51859559da4b3d844db73f5af25cffa05eeb780f /net/bluetooth/hci_core.c | |
parent | e2a119cd84600f7e2d94d3e8781946b69b6e2376 (diff) | |
download | linux-4da385f742d485fe3135a2711299cbf28ea24bc9.tar.bz2 |
Bluetooth: hci_qca: Refactor error handling in qca_suspend()
If waiting for IBS sleep times out jump to the error handler, this is
easier to read than multiple 'if' branches and a fall through to the
error handler.
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_core.c')
0 files changed, 0 insertions, 0 deletions