aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Prestwood <prestwoj@gmail.com>2022-07-26 09:35:00 -0700
committerDenis Kenzior <denkenz@gmail.com>2022-07-26 12:07:45 -0500
commiteffd7dc86a52efe9f1c713fc6a76415f39877bce (patch)
treef24fd2a983ff19541913cd5203d0dac6aec3a2ff
parent5e7d851a7663b1d5ce8e7ee37222b0174d480280 (diff)
genl: remove 'msg' from l_genl_attr
The original l_genl_msg object was never being used
-rw-r--r--ell/genl.c2
-rw-r--r--ell/genl.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/ell/genl.c b/ell/genl.c
index 2c873efd..4ed95dfb 100644
--- a/ell/genl.c
+++ b/ell/genl.c
@@ -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);
diff --git a/ell/genl.h b/ell/genl.h
index 42041fa5..915bcf7b 100644
--- a/ell/genl.h
+++ b/ell/genl.h
@@ -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;