mesh: Remove unused parameters from internal rx functions 46/228946/1
authorInga Stotland <inga.stotland@intel.com>
Thu, 27 Feb 2020 06:56:07 +0000 (22:56 -0800)
committerAnupam Roy <anupam.r@samsung.com>
Thu, 26 Mar 2020 10:35:18 +0000 (16:05 +0530)
commit5278646f0cf2d6b5f9a2e026320cff2f5f2d08fd
treeb6fd9b1503046e4c5138ce924658dbe7e6c879dc
parent9161aea3f03e96c867f544ab9ed00a3aebbc10d0
mesh: Remove unused parameters from internal rx functions

This removes unused ttl parameter from mesh_model_rx(). The TTL value
is not processed at the access layer, so there is no need to pass it
to a model.
Also, remove "uint32_t dst" parameter from the typedef of
mesh_model_recv_cb: providing a just destination address is sufficient
for internally implemented models (currently, it's only Config Server)

Change-Id: I603aa23a495a40bb804e0a370331d1efd8508270
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
mesh/cfgmod-server.c
mesh/model.c
mesh/model.h
mesh/net.c