summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-01-09 19:44:00 -0800
committerMarcel Holtmann <marcel@holtmann.org>2013-01-09 19:44:00 -0800
commit6861b49c188532fa9499a8b19ee461bae1371e59 (patch)
tree030b45533b8f642ba20b1f15df59c30090069733 /lib
parentf4f6f2290826ed7fc4d231b18aaff978ac12b277 (diff)
lib: Remove all management settings helpers since they are unused now
Diffstat (limited to 'lib')
-rw-r--r--lib/mgmt.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index 1cdb80f9b..e28005e90 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -570,28 +570,3 @@ static inline const char *mgmt_errstr(uint8_t status)
return "<unknown status>";
return mgmt_status[status];
}
-
-static inline bool mgmt_powered(uint32_t settings)
-{
- return (settings & MGMT_SETTING_POWERED);
-}
-
-static inline bool mgmt_connectable(uint32_t settings)
-{
- return (settings & MGMT_SETTING_CONNECTABLE);
-}
-
-static inline bool mgmt_fast_connectable(uint32_t settings)
-{
- return (settings & MGMT_SETTING_FAST_CONNECTABLE);
-}
-
-static inline bool mgmt_discoverable(uint32_t settings)
-{
- return (settings & MGMT_SETTING_DISCOVERABLE);
-}
-
-static inline bool mgmt_pairable(uint32_t settings)
-{
- return (settings & MGMT_SETTING_PAIRABLE);
-}