From 6861b49c188532fa9499a8b19ee461bae1371e59 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 9 Jan 2013 19:44:00 -0800 Subject: [PATCH] lib: Remove all management settings helpers since they are unused now --- lib/mgmt.h | 25 ------------------------- 1 file changed, 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 ""; 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); -} -- 2.47.3