diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-01-07 15:47:20 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-13 16:01:24 +0100 |
commit | 587ae086f6e44c3f1d313e3efdfc8c2866784bc3 (patch) | |
tree | 71d48b822fb134f03a3d3717a1513a672b994b02 /drivers/bluetooth/btmrvl_main.c | |
parent | Bluetooth: uart-ldisc: Fix memory leak and remove destruct cb (diff) | |
download | linux-587ae086f6e44c3f1d313e3efdfc8c2866784bc3.tar.xz linux-587ae086f6e44c3f1d313e3efdfc8c2866784bc3.zip |
Bluetooth: Remove unused hci-destruct cb
The hci-destruct callback is not used by any driver so we can remove it.
There is no reason to keep it alive, anymore. Drivers can free their
internal data on driver-release and we do not need to provide a public
destruct callback.
Internally, we still use a destruct callback inside of hci_sysfs.c. This
one is used to correctly free our hci_dev data structure if no more
users have a reference to it.
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/btmrvl_main.c')
0 files changed, 0 insertions, 0 deletions