diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-10 13:50:02 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-10 16:10:16 -0400 |
commit | 69b7e17057e2ee8c2ce0b8c32baf77cf160dc5ff (patch) | |
tree | 01e207f9d3af8e95800e9a5cafdf15907546089e /drivers/bluetooth/bt3c_cs.c | |
parent | 87d82ee25785cd31927ea62ad539b63cc811d433 (diff) |
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>
Diffstat (limited to 'drivers/bluetooth/bt3c_cs.c')
-rw-r--r-- | drivers/bluetooth/bt3c_cs.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index a1aaa3ba2a4b..673455cbde4c 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c | |||
@@ -455,12 +455,6 @@ static int bt3c_hci_send_frame(struct sk_buff *skb) | |||
455 | } | 455 | } |
456 | 456 | ||
457 | 457 | ||
458 | static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) | ||
459 | { | ||
460 | return -ENOIOCTLCMD; | ||
461 | } | ||
462 | |||
463 | |||
464 | 458 | ||
465 | /* ======================== Card services HCI interaction ======================== */ | 459 | /* ======================== Card services HCI interaction ======================== */ |
466 | 460 | ||
@@ -577,11 +571,10 @@ static int bt3c_open(bt3c_info_t *info) | |||
577 | hci_set_drvdata(hdev, info); | 571 | hci_set_drvdata(hdev, info); |
578 | SET_HCIDEV_DEV(hdev, &info->p_dev->dev); | 572 | SET_HCIDEV_DEV(hdev, &info->p_dev->dev); |
579 | 573 | ||
580 | hdev->open = bt3c_hci_open; | 574 | hdev->open = bt3c_hci_open; |
581 | hdev->close = bt3c_hci_close; | 575 | hdev->close = bt3c_hci_close; |
582 | hdev->flush = bt3c_hci_flush; | 576 | hdev->flush = bt3c_hci_flush; |
583 | hdev->send = bt3c_hci_send_frame; | 577 | hdev->send = bt3c_hci_send_frame; |
584 | hdev->ioctl = bt3c_hci_ioctl; | ||
585 | 578 | ||
586 | /* Load firmware */ | 579 | /* Load firmware */ |
587 | err = request_firmware(&firmware, "BT3CPCC.bin", &info->p_dev->dev); | 580 | err = request_firmware(&firmware, "BT3CPCC.bin", &info->p_dev->dev); |