Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71f39030 authored by Marcel Holtmann's avatar Marcel Holtmann Committed by Johan Hedberg
Browse files

Bluetooth: Remove unused btuart_hci_ioctl() callback



The btuart_hci_ioctl() function is not used and thus remove it.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 69b7e170
Loading
Loading
Loading
Loading
+4 −11
Original line number Diff line number Diff line
@@ -458,12 +458,6 @@ static int btuart_hci_send_frame(struct sk_buff *skb)
}


static int btuart_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg)
{
	return -ENOIOCTLCMD;
}



/* ======================== Card services HCI interaction ======================== */

@@ -499,7 +493,6 @@ static int btuart_open(btuart_info_t *info)
	hdev->close = btuart_hci_close;
	hdev->flush = btuart_hci_flush;
	hdev->send  = btuart_hci_send_frame;
	hdev->ioctl    = btuart_hci_ioctl;

	spin_lock_irqsave(&(info->lock), flags);