net: lwm2m: Remove two useless macros

These two macros just change the name of function call
* NOTIFY_OBSERVER
* NOTIFY_OBSERVER_PATH

I don't see any benefit of those, so I dropped them.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
This commit is contained in:
Seppo Takalo 2022-07-26 13:01:32 +03:00 committed by Fabio Baltieri
commit b10f2c13ed
11 changed files with 17 additions and 21 deletions

View file

@ -966,7 +966,7 @@ int lwm2m_write_handler(struct lwm2m_engine_obj_inst *obj_inst, struct lwm2m_eng
res_inst->data_len = len;
if (LWM2M_HAS_PERM(obj_field, LWM2M_PERM_R)) {
NOTIFY_OBSERVER_PATH(&msg->path);
lwm2m_notify_observer_path(&msg->path);
}
return ret;