Bluetooth: Make hci_blacklist_clear function static
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 28 Feb 2014 03:35:54 +0000 (19:35 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 28 Feb 2014 07:31:05 +0000 (09:31 +0200)
The hci_blacklist_clear function is not used outside of hci_core.c and
can be made static.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c

index 093d05eeb3fabbd97a29afce00385c27c3dcff93..9493da8f7d83f7340c7bf69270769eb10b7c862e 100644 (file)
@@ -796,7 +796,6 @@ int hci_inquiry(void __user *arg);
 
 struct bdaddr_list *hci_blacklist_lookup(struct hci_dev *hdev,
                                         bdaddr_t *bdaddr, u8 type);
-void hci_blacklist_clear(struct hci_dev *hdev);
 int hci_blacklist_add(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type);
 int hci_blacklist_del(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 type);
 
index 7113d4cc085fb33d4bba62aed0e7b9f783f3e66d..75cf447ca000b01ff5cd43f4417a363e1789d181 100644 (file)
@@ -3238,7 +3238,7 @@ struct bdaddr_list *hci_blacklist_lookup(struct hci_dev *hdev,
        return NULL;
 }
 
-void hci_blacklist_clear(struct hci_dev *hdev)
+static void hci_blacklist_clear(struct hci_dev *hdev)
 {
        struct list_head *p, *n;
 
This page took 0.028747 seconds and 5 git commands to generate.