aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-05 00:59:27 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 12:47:10 -0400
commit2d7cc19eebc182dbdda228aa26eb5bfff97ac072 (patch)
tree6a0ac9482a6aa2da1000fb198e819066ecbf2754 /include/net
parentd90aa68236137d4170e39055dba41a5a000c568e (diff)
Bluetooth: Remove hci_recv_stream_fragment function
The hci_recv_stream_fragment function should have never been introduced in the first place. The Bluetooth core does not need to know anything about the HCI transport protocol. With all transport protocol specific detailed moved back into the drivers where they belong (mainly generic USB and UART drivers), this function can now be removed. This reduces the size of hci_dev structure and also removes an exported symbol from the Bluetooth core module. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/hci_core.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index ad957f336ead..a056c2bfeb81 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -185,7 +185,6 @@ struct amp_assoc {
185 185
186#define HCI_MAX_PAGES 3 186#define HCI_MAX_PAGES 3
187 187
188#define NUM_REASSEMBLY 4
189struct hci_dev { 188struct hci_dev {
190 struct list_head list; 189 struct list_head list;
191 struct mutex lock; 190 struct mutex lock;
@@ -327,7 +326,6 @@ struct hci_dev {
327 struct sk_buff_head cmd_q; 326 struct sk_buff_head cmd_q;
328 327
329 struct sk_buff *sent_cmd; 328 struct sk_buff *sent_cmd;
330 struct sk_buff *reassembly[NUM_REASSEMBLY];
331 329
332 struct mutex req_lock; 330 struct mutex req_lock;
333 wait_queue_head_t req_wait_q; 331 wait_queue_head_t req_wait_q;
@@ -1012,7 +1010,6 @@ int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr,
1012void hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb); 1010void hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb);
1013 1011
1014int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb); 1012int hci_recv_frame(struct hci_dev *hdev, struct sk_buff *skb);
1015int hci_recv_stream_fragment(struct hci_dev *hdev, const void *data, int count);
1016 1013
1017void hci_init_sysfs(struct hci_dev *hdev); 1014void hci_init_sysfs(struct hci_dev *hdev);
1018void hci_conn_init_sysfs(struct hci_conn *conn); 1015void hci_conn_init_sysfs(struct hci_conn *conn);