mesh: Remove redundant call to save node configuration 27/234227/1
authorInga Stotland <inga.stotland@intel.com>
Sat, 9 May 2020 00:00:24 +0000 (17:00 -0700)
committerAbhay Agarwal <ay.agarwal@samsung.com>
Fri, 22 May 2020 04:23:44 +0000 (09:53 +0530)
commit06e0aee843d757f674b5548b2ba72dda5542dc8f
treee83f9f3c096f06329ecaf46fd6ea557b6f0e74c5
parent66c5e19b91d516a0d40d9ac8d30d16c0f63b962f
mesh: Remove redundant call to save node configuration

This removes a redundant call to save node configuration in
add_local_node(): there is a number of unconditional calls to
mesh_config_write_<some_node_Setting>() within this function
which would result in the node configuration being saved implicitly.

Change-Id: I6ffb8eea7f627c734c2728940f9a24223ad19e8c
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
mesh/node.c