Skip to content

Commit e93ac9c

Browse files
holtmannjhedberg
authored andcommitted
Bluetooth: Remove unused btmrvl_ioctl() callback
The btmrvl_ioctl() function is not used and thus remove it. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
1 parent 3c72884 commit e93ac9c

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

‎drivers/bluetooth/btmrvl_main.c‎

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -356,12 +356,6 @@ static void btmrvl_free_adapter(struct btmrvl_private *priv)
356356
priv->adapter = NULL;
357357
}
358358

359-
static int btmrvl_ioctl(struct hci_dev *hdev,
360-
unsigned int cmd, unsigned long arg)
361-
{
362-
return -ENOIOCTLCMD;
363-
}
364-
365359
static int btmrvl_send_frame(struct sk_buff *skb)
366360
{
367361
struct hci_dev *hdev = (struct hci_dev *) skb->dev;
@@ -650,12 +644,11 @@ int btmrvl_register_hdev(struct btmrvl_private *priv)
650644
priv->btmrvl_dev.hcidev = hdev;
651645
hci_set_drvdata(hdev, priv);
652646

653-
hdev->bus = HCI_SDIO;
654-
hdev->open = btmrvl_open;
647+
hdev->bus = HCI_SDIO;
648+
hdev->open = btmrvl_open;
655649
hdev->close = btmrvl_close;
656650
hdev->flush = btmrvl_flush;
657-
hdev->send = btmrvl_send_frame;
658-
hdev->ioctl = btmrvl_ioctl;
651+
hdev->send = btmrvl_send_frame;
659652
hdev->setup = btmrvl_setup;
660653

661654
hdev->dev_type = priv->btmrvl_dev.dev_type;

0 commit comments

Comments
 (0)