aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-01-07 09:47:12 -0500
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-13 10:01:23 -0500
commit6147032f9481475b21123d2f4a176bff24385f79 (patch)
tree0579dafefa5eff038ac4df5fcad9a5bbc7b9a719 /drivers/bluetooth
parent3a456784d346961194bd586aabe40011dba278c1 (diff)
Bluetooth: btwilink: Remove empty destruct cb
The destruct cb is optional so remove our empty dummy cb. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Acked-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/btwilink.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/bluetooth/btwilink.c b/drivers/bluetooth/btwilink.c
index b5f83b44a0cd..da9cf6a6e8ac 100644
--- a/drivers/bluetooth/btwilink.c
+++ b/drivers/bluetooth/btwilink.c
@@ -291,14 +291,6 @@ static int ti_st_send_frame(struct sk_buff *skb)
291 return 0; 291 return 0;
292} 292}
293 293
294static void ti_st_destruct(struct hci_dev *hdev)
295{
296 BT_DBG("%s", hdev->name);
297 /* do nothing here, since platform remove
298 * would free the hdev->driver_data
299 */
300}
301
302static int bt_ti_probe(struct platform_device *pdev) 294static int bt_ti_probe(struct platform_device *pdev)
303{ 295{
304 static struct ti_st *hst; 296 static struct ti_st *hst;
@@ -325,7 +317,6 @@ static int bt_ti_probe(struct platform_device *pdev)
325 hdev->close = ti_st_close; 317 hdev->close = ti_st_close;
326 hdev->flush = NULL; 318 hdev->flush = NULL;
327 hdev->send = ti_st_send_frame; 319 hdev->send = ti_st_send_frame;
328 hdev->destruct = ti_st_destruct;
329 hdev->owner = THIS_MODULE; 320 hdev->owner = THIS_MODULE;
330 321
331 err = hci_register_dev(hdev); 322 err = hci_register_dev(hdev);