Bluetooth: Fix warning: variable 'tty' set but not used
commit7452d24cfb91e84f9be61beda5ad68d2a56d0938
authorJustin P. Mattock <justinmattock@gmail.com>
Tue, 15 Jun 2010 01:26:40 +0000 (14 18:26 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:05 +0000 (21 10:39 -0700)
tree3daae6335a1d717f79ba20322bf51c6685c81fd9
parent278be27fc401119c985235ee549dc229d85e6bf5
Bluetooth: Fix warning: variable 'tty' set but not used

The patch below fixes a warning message when using gcc 4.6.0.

  CC [M]  drivers/bluetooth/hci_ldisc.o
drivers/bluetooth/hci_ldisc.c: In function 'hci_uart_send_frame':
drivers/bluetooth/hci_ldisc.c:213:21: warning: variable 'tty' set but not used

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Reviewed-By: Gustavo F. Padovan <gustavo@padovan.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ldisc.c