util: Remove unused msg_append_attr functions

This commit is contained in:
Denis Kenzior 2017-01-31 11:48:50 -06:00
parent 367f1ec798
commit 4978c31fd7
2 changed files with 0 additions and 19 deletions

View File

@ -131,16 +131,3 @@ bool util_string_to_address(const char *str, uint8_t *addr)
return true;
}
bool _msg_append_attr(struct l_genl_msg *msg,
uint16_t type, const char *type_str,
uint16_t len, const void *value)
{
bool ret;
ret = l_genl_msg_append_attr(msg, type, len, value);
if (!ret)
l_warn("Cannot append attr %s", type_str);
return ret;
}

View File

@ -43,10 +43,4 @@ static inline bool util_is_bit_set(const uint8_t oct, int bit)
return oct & mask ? true : false;
}
bool _msg_append_attr(struct l_genl_msg *msg,
uint16_t type, const char *type_str,
uint16_t len, const void *value);
#define msg_append_attr(msg, type, len, value) \
_msg_append_attr(msg, type, #type, len, value)
#endif /* __UTIL_H */