summaryrefslogtreecommitdiff
path: root/src/hcid.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2010-11-04 04:19:54 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2010-11-04 04:22:18 +0200
commitdb5266f0afedc33e2fd6fc3601c16498865f746d (patch)
tree579844e07b69e6c946257ca954875d417d2b48d5 /src/hcid.h
parentfdd43acc2a2a151e380de5f02c291d804ec05419 (diff)
Remove redundant tracking of ignored adapters
Since hciops already takes care of hiding ignored adapters there's no need to have special logic for them in adapter.c.
Diffstat (limited to 'src/hcid.h')
-rw-r--r--src/hcid.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hcid.h b/src/hcid.h
index c73fe80c..caa1d624 100644
--- a/src/hcid.h
+++ b/src/hcid.h
@@ -85,8 +85,3 @@ void plugin_cleanup(void);
void rfkill_init(void);
void rfkill_exit(void);
-
-static inline int ignore_device(struct hci_dev_info *di)
-{
- return hci_test_bit(HCI_RAW, &di->flags) || di->type >> 4 != HCI_BREDR;
-}