diff options
author | James Prestwood <prestwoj@gmail.com> | 2022-07-26 09:35:00 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2022-07-26 12:07:45 -0500 |
commit | effd7dc86a52efe9f1c713fc6a76415f39877bce (patch) | |
tree | f24fd2a983ff19541913cd5203d0dac6aec3a2ff | |
parent | 5e7d851a7663b1d5ce8e7ee37222b0174d480280 (diff) |
genl: remove 'msg' from l_genl_attr
The original l_genl_msg object was never being used
-rw-r--r-- | ell/genl.c | 2 | ||||
-rw-r--r-- | ell/genl.h | 1 |
2 files changed, 0 insertions, 3 deletions
@@ -1720,7 +1720,6 @@ LIB_EXPORT bool l_genl_attr_init(struct l_genl_attr *attr, if (!NLA_OK(nla, len)) return false; - attr->msg = msg; attr->data = NULL; attr->len = 0; attr->next_data = nla; @@ -1773,7 +1772,6 @@ LIB_EXPORT bool l_genl_attr_recurse(const struct l_genl_attr *attr, if (!nla) return false; - nested->msg = attr->msg; nested->data = NULL; nested->len = 0; nested->next_data = NLA_DATA(nla); @@ -76,7 +76,6 @@ bool l_genl_request_family(struct l_genl *genl, const char *name, l_genl_destroy_func_t destroy); struct l_genl_attr { - struct l_genl_msg *msg; const void *data; uint32_t len; const void *next_data; |