Bluetooth: Simplify hci_uart_tty_close logic
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 16 Jul 2012 13:12:10 +0000 (16:12 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 17 Jul 2012 17:48:27 +0000 (14:48 -0300)
commitdac670b97698f7c5584b224dd68d9d612b9ad4d7
tree3eb335512bb97afd17579a014829f7db0c210b48
parent40f10224df6f00b59ab342e3d9d9ac8b50c8eada
Bluetooth: Simplify hci_uart_tty_close logic

This patch cleans up and reduces indentation in the hci_uart_tty_close
function.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/hci_ldisc.c