Skip to content

Commit 87d82ee

Browse files
holtmannjhedberg
authored andcommitted
Bluetooth: Remove unused bluecard_hci_ioctl() callback
The bluecard_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 19cf55a commit 87d82ee

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

‎drivers/bluetooth/bluecard_cs.c‎

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -693,12 +693,6 @@ static int bluecard_hci_send_frame(struct sk_buff *skb)
693693
}
694694

695695

696-
static int bluecard_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg)
697-
{
698-
return -ENOIOCTLCMD;
699-
}
700-
701-
702696

703697
/* ======================== Card services HCI interaction ======================== */
704698

@@ -734,11 +728,10 @@ static int bluecard_open(bluecard_info_t *info)
734728
hci_set_drvdata(hdev, info);
735729
SET_HCIDEV_DEV(hdev, &info->p_dev->dev);
736730

737-
hdev->open = bluecard_hci_open;
738-
hdev->close = bluecard_hci_close;
739-
hdev->flush = bluecard_hci_flush;
740-
hdev->send = bluecard_hci_send_frame;
741-
hdev->ioctl = bluecard_hci_ioctl;
731+
hdev->open = bluecard_hci_open;
732+
hdev->close = bluecard_hci_close;
733+
hdev->flush = bluecard_hci_flush;
734+
hdev->send = bluecard_hci_send_frame;
742735

743736
id = inb(iobase + 0x30);
744737

0 commit comments

Comments
 (0)