diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-10 13:50:03 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-10 16:10:37 -0400 |
commit | 71f3903047a92bba5b62a7bebe7772d873e20b8c (patch) | |
tree | a9c81e74f2e5d2958446b7bf05beabf374e8134a /drivers/bluetooth | |
parent | 69b7e17057e2ee8c2ce0b8c32baf77cf160dc5ff (diff) |
Bluetooth: Remove unused btuart_hci_ioctl() callback
The btuart_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')
-rw-r--r-- | drivers/bluetooth/btuart_cs.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index beb262f2dc4d..970e2d3dd3c2 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_cs.c | |||
@@ -458,12 +458,6 @@ static int btuart_hci_send_frame(struct sk_buff *skb) | |||
458 | } | 458 | } |
459 | 459 | ||
460 | 460 | ||
461 | static int btuart_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) | ||
462 | { | ||
463 | return -ENOIOCTLCMD; | ||
464 | } | ||
465 | |||
466 | |||
467 | 461 | ||
468 | /* ======================== Card services HCI interaction ======================== */ | 462 | /* ======================== Card services HCI interaction ======================== */ |
469 | 463 | ||
@@ -495,11 +489,10 @@ static int btuart_open(btuart_info_t *info) | |||
495 | hci_set_drvdata(hdev, info); | 489 | hci_set_drvdata(hdev, info); |
496 | SET_HCIDEV_DEV(hdev, &info->p_dev->dev); | 490 | SET_HCIDEV_DEV(hdev, &info->p_dev->dev); |
497 | 491 | ||
498 | hdev->open = btuart_hci_open; | 492 | hdev->open = btuart_hci_open; |
499 | hdev->close = btuart_hci_close; | 493 | hdev->close = btuart_hci_close; |
500 | hdev->flush = btuart_hci_flush; | 494 | hdev->flush = btuart_hci_flush; |
501 | hdev->send = btuart_hci_send_frame; | 495 | hdev->send = btuart_hci_send_frame; |
502 | hdev->ioctl = btuart_hci_ioctl; | ||
503 | 496 | ||
504 | spin_lock_irqsave(&(info->lock), flags); | 497 | spin_lock_irqsave(&(info->lock), flags); |
505 | 498 | ||