Re: [PATCH 2/8]bluetooth/hci_ldisc.c Fix warning: variable 'tty' set but not used

2010-06-15 Thread Gustavo F. Padovan
Hi Justin, * Justin P. Mattock justinmatt...@gmail.com [2010-06-14 13:26:42 -0700]: Im getting this while building: 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

[PATCH 2/8]bluetooth/hci_ldisc.c Fix warning: variable 'tty' set but not used

2010-06-14 Thread Gustavo F. Padovan
Hi Justin, * Justin P. Mattock [2010-06-14 13:26:42 -0700]: > Im getting this while building: > 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 > > the

[PATCH 2/8]bluetooth/hci_ldisc.c Fix warning: variable 'tty' set but not used

2010-06-14 Thread Justin P. Mattock
Im getting this while building: 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 the below fixed it for me, but am not sure if it's correct. Signed-off-by: