]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use single return in hci_uart_tty_ioctl() call
authorVignesh Raman <Vignesh_Raman@mentor.com>
Fri, 23 Sep 2016 17:56:28 +0000 (18:56 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 24 Sep 2016 04:40:24 +0000 (06:40 +0200)
commitfa4499a3b3049149fe00341ef972301c679d4cd6
tree6e884016213e26c94e62fc5e252d2fade48a1603
parentdd3d6e8e5c21eb30df6d797174e61cfb9b7903b9
Bluetooth: Use single return in hci_uart_tty_ioctl() call

Remove multiple return statements in hci_uart_tty_ioctl() call and
added a single return statement.

This code re-organisation allows subsequent locking to be easily
added.

Signed-off-by: Vignesh Raman <Vignesh_Raman@mentor.com>
Signed-off-by: Dean Jenkins <Dean_Jenkins@mentor.com>
Signed-off-by: Rajeev Kumar <rajeev_kumar@mentor.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ldisc.c