|
@@ -210,7 +210,6 @@ static int hci_uart_close(struct hci_dev *hdev)
|
|
static int hci_uart_send_frame(struct sk_buff *skb)
|
|
static int hci_uart_send_frame(struct sk_buff *skb)
|
|
{
|
|
{
|
|
struct hci_dev* hdev = (struct hci_dev *) skb->dev;
|
|
struct hci_dev* hdev = (struct hci_dev *) skb->dev;
|
|
- struct tty_struct *tty;
|
|
|
|
struct hci_uart *hu;
|
|
struct hci_uart *hu;
|
|
|
|
|
|
if (!hdev) {
|
|
if (!hdev) {
|
|
@@ -222,7 +221,6 @@ static int hci_uart_send_frame(struct sk_buff *skb)
|
|
return -EBUSY;
|
|
return -EBUSY;
|
|
|
|
|
|
hu = (struct hci_uart *) hdev->driver_data;
|
|
hu = (struct hci_uart *) hdev->driver_data;
|
|
- tty = hu->tty;
|
|
|
|
|
|
|
|
BT_DBG("%s: type %d len %d", hdev->name, bt_cb(skb)->pkt_type, skb->len);
|
|
BT_DBG("%s: type %d len %d", hdev->name, bt_cb(skb)->pkt_type, skb->len);
|
|
|
|
|