]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unnecessary indentation in unpair_device()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 21 Oct 2015 15:03:03 +0000 (18:03 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Oct 2015 16:40:21 +0000 (18:40 +0200)
commitbeddab72b037721cf8780769c7e3935e7ec1402f
treee7cbd0791641735321fdaf2cd0ad437d08bd58f7
parentb38fec2149ed9f7d773be6a5b05dab46ef625573
Bluetooth: Remove unnecessary indentation in unpair_device()

Instead of doing all of the LE-specific handling in an else-branch in
unpair_device() create a 'done' label for the BR/EDR branch to jump to
and then remove the else-branch completely.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c