Skip to content

Commit 69b7e17

Browse files
holtmannjhedberg
authored andcommitted
Bluetooth: Remove unused bt3c_hci_ioctl() callback
The bt3c_hci_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 87d82ee commit 69b7e17

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

‎drivers/bluetooth/bt3c_cs.c‎

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,6 @@ static int bt3c_hci_send_frame(struct sk_buff *skb)
455455
}
456456

457457

458-
static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg)
459-
{
460-
return -ENOIOCTLCMD;
461-
}
462-
463-
464458

465459
/* ======================== Card services HCI interaction ======================== */
466460

@@ -577,11 +571,10 @@ static int bt3c_open(bt3c_info_t *info)
577571
hci_set_drvdata(hdev, info);
578572
SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
579573

580-
hdev->open = bt3c_hci_open;
581-
hdev->close = bt3c_hci_close;
582-
hdev->flush = bt3c_hci_flush;
583-
hdev->send = bt3c_hci_send_frame;
584-
hdev->ioctl = bt3c_hci_ioctl;
574+
hdev->open = bt3c_hci_open;
575+
hdev->close = bt3c_hci_close;
576+
hdev->flush = bt3c_hci_flush;
577+
hdev->send = bt3c_hci_send_frame;
585578

586579
/* Load firmware */
587580
err = request_firmware(&firmware, "BT3CPCC.bin", &info->p_dev->dev);

0 commit comments

Comments
 (0)