diff options
author | David Miller | 2010-07-31 06:54:49 +0200 |
---|---|---|
committer | Marcel Holtmann | 2010-08-01 01:06:58 +0200 |
commit | ea4bd8ba804dedefa65303b3bd105d6d2808e621 (patch) | |
tree | 4a189e6c27629892ce9d8b99566ca823e7502b47 /net/bluetooth/hci_core.c | |
parent | cfg80211: fix dev <-> wiphy typo (diff) | |
download | kernel-qcow2-linux-ea4bd8ba804dedefa65303b3bd105d6d2808e621.tar.gz kernel-qcow2-linux-ea4bd8ba804dedefa65303b3bd105d6d2808e621.tar.xz kernel-qcow2-linux-ea4bd8ba804dedefa65303b3bd105d6d2808e621.zip |
Bluetooth: Use list_head for HCI blacklist head
The bdaddr in the list root is completely unused and just
taking up space.
Signed-off-by: David S. Miller <davem@davemloft.net>
Tested-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/hci_core.c')
-rw-r--r-- | net/bluetooth/hci_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 8303f1c9ef54..c52f091ee6de 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -924,7 +924,7 @@ int hci_register_dev(struct hci_dev *hdev) hci_conn_hash_init(hdev); - INIT_LIST_HEAD(&hdev->blacklist.list); + INIT_LIST_HEAD(&hdev->blacklist); memset(&hdev->stat, 0, sizeof(struct hci_dev_stats)); |