diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-09-16 21:36:09 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-09-17 10:23:03 +0300 |
commit | 0097db06f5ab2df1756bc4cbf4395593024d87a1 (patch) | |
tree | d98e698a8a197764e0c215950cfd9629f5600cf8 /net/bluetooth | |
parent | 803b58367ffb7ae89397637122f9a71b2ee40687 (diff) | |
download | op-kernel-dev-0097db06f5ab2df1756bc4cbf4395593024d87a1.zip op-kernel-dev-0097db06f5ab2df1756bc4cbf4395593024d87a1.tar.gz |
Bluetooth: Remove exported hci_recv_fragment function
The hci_recv_fragment function is no longer used by any driver and thus
do not export it. In fact it is not even needed by the core and it can
be removed altogether.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/hci_core.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 4194867..cb05d7f 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -4374,26 +4374,6 @@ static int hci_reassembly(struct hci_dev *hdev, int type, void *data, return remain; } -int hci_recv_fragment(struct hci_dev *hdev, int type, void *data, int count) -{ - int rem = 0; - - if (type < HCI_ACLDATA_PKT || type > HCI_EVENT_PKT) - return -EILSEQ; - - while (count) { - rem = hci_reassembly(hdev, type, data, count, type - 1); - if (rem < 0) - return rem; - - data += (count - rem); - count = rem; - } - - return rem; -} -EXPORT_SYMBOL(hci_recv_fragment); - #define STREAM_REASSEMBLY 0 int hci_recv_stream_fragment(struct hci_dev *hdev, void *data, int count) |