Skip to content
Permalink
Browse files

net: lwm2m: remove unused members from lwm2m_output_context

Now that formatters use their own private data to hold state,
let's remove the old member variables from lwm2m_output_context
which are now unused.

Signed-off-by: Michael Scott <mike@foundries.io>
  • Loading branch information...
mike-scott authored and nashif committed Aug 29, 2018
1 parent 4a344e7 commit f21b20550ca2f23594453f68878afc80b9aa3a61
Showing with 0 additions and 9 deletions.
  1. +0 −9 subsys/net/lib/lwm2m/lwm2m_object.h
@@ -261,18 +261,9 @@ struct lwm2m_output_context {
/* current write fragment in net_buf chain */
struct net_buf *frag;

/* markers for last resource inst */
struct net_buf *mark_frag_ri;

/* current write position in net_buf chain */
u16_t offset;

/* markers for last resource inst ID */
u16_t mark_pos_ri;

/* flags for reader/writer */
u8_t writer_flags;

/* private output data */
void *user_data;
};

0 comments on commit f21b205

Please sign in to comment.
You can’t perform that action at this time.