Skip to content

Commit

Permalink
Bluetooth: bt3c-cs: Remove empty destruct cb
Browse files Browse the repository at this point in the history
The callback is optional and we provide an empty callback so remove it.

Signed-off-by: David Herrmann <[email protected]>
Acked-by: Marcel Holtmann <[email protected]>
Signed-off-by: Johan Hedberg <[email protected]>
  • Loading branch information
David Herrmann authored and Johan Hedberg committed Feb 13, 2012
1 parent ac9ef65 commit a3f3562
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/bluetooth/bt3c_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,11 +456,6 @@ static int bt3c_hci_send_frame(struct sk_buff *skb)
}


static void bt3c_hci_destruct(struct hci_dev *hdev)
{
}


static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg)
{
return -ENOIOCTLCMD;
Expand Down Expand Up @@ -587,7 +582,6 @@ static int bt3c_open(bt3c_info_t *info)
hdev->close = bt3c_hci_close;
hdev->flush = bt3c_hci_flush;
hdev->send = bt3c_hci_send_frame;
hdev->destruct = bt3c_hci_destruct;
hdev->ioctl = bt3c_hci_ioctl;

hdev->owner = THIS_MODULE;
Expand Down

0 comments on commit a3f3562

Please sign in to comment.