diff options
author | David Miller <davem@davemloft.net> | 2010-07-30 21:54:49 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-07-31 16:06:58 -0700 |
commit | ea4bd8ba804dedefa65303b3bd105d6d2808e621 (patch) | |
tree | 4a189e6c27629892ce9d8b99566ca823e7502b47 /net/bluetooth/hci_sysfs.c | |
parent | b7753c8cd51dce67a0b152efb456a21ff1cc241b (diff) | |
download | talos-obmc-linux-ea4bd8ba804dedefa65303b3bd105d6d2808e621.tar.gz talos-obmc-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_sysfs.c')
-rw-r--r-- | net/bluetooth/hci_sysfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c index ce44c47eeac1..8fb967beee80 100644 --- a/net/bluetooth/hci_sysfs.c +++ b/net/bluetooth/hci_sysfs.c @@ -439,12 +439,11 @@ static const struct file_operations inquiry_cache_fops = { static int blacklist_show(struct seq_file *f, void *p) { struct hci_dev *hdev = f->private; - struct bdaddr_list *blacklist = &hdev->blacklist; struct list_head *l; hci_dev_lock_bh(hdev); - list_for_each(l, &blacklist->list) { + list_for_each(l, &hdev->blacklist) { struct bdaddr_list *b; bdaddr_t bdaddr; |