summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/hci_core.c
diff options
context:
space:
mode:
authorJohan Hedberg2015-04-02 12:41:10 +0200
committerMarcel Holtmann2015-04-02 16:09:27 +0200
commitf7d9e97592aeb7742084814c5f37e25571b2d51d (patch)
tree4c22cf825ac013964cb09fb76f00fd8990f13757 /net/bluetooth/hci_core.c
parentBluetooth: Convert hci_req_sync family of function to new request API (diff)
downloadkernel-qcow2-linux-f7d9e97592aeb7742084814c5f37e25571b2d51d.tar.gz
kernel-qcow2-linux-f7d9e97592aeb7742084814c5f37e25571b2d51d.tar.xz
kernel-qcow2-linux-f7d9e97592aeb7742084814c5f37e25571b2d51d.zip
Bluetooth: Remove unneeded recv_event variable
Now that the synchronous HCI requests use the new API and a new private variable the recv_evt member of hci_dev is no-longer needed. This patch removes it. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r--net/bluetooth/hci_core.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 5cbb0957edc7..6192f6e3242f 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -1690,9 +1690,6 @@ static int hci_dev_do_close(struct hci_dev *hdev)
hdev->sent_cmd = NULL;
}
- kfree_skb(hdev->recv_evt);
- hdev->recv_evt = NULL;
-
/* After this point our queues are empty
* and no tasks are scheduled. */
hdev->close(hdev);