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)
commitec182f0397e7065dabf13a99fc745fcab0bdc641
treee7cbd0791641735321fdaf2cd0ad437d08bd58f7
parentf5ad4ffceba0b34adb0d896a069b81fc68f2d7b6
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