diff mbox series

[BlueZ] mesh: Remove duplicated init for mesh config

Message ID 66e0e4f9.050a0220.385dec.8d26@mx.google.com (mailing list archive)
State New, archived
Headers show
Series [BlueZ] mesh: Remove duplicated init for mesh config | expand

Checks

Context Check Description
tedd_an/pre-ci_am fail error: patch failed: mesh/mesh.c:266 error: mesh/mesh.c: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch

Commit Message

Junho Lee Sept. 11, 2024, 12:31 a.m. UTC
This removes duplicate initialization code, as ProvTimeout and
Algorithms are already initialized when the data structure is created.
---
 mesh/mesh.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

bluez.test.bot@gmail.com Sept. 11, 2024, 1:08 a.m. UTC | #1
This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: mesh/mesh.c:266
error: mesh/mesh.c: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.


---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/mesh/mesh.c b/mesh/mesh.c
index 7b670e40a..49d252e5e 100644
--- a/mesh/mesh.c
+++ b/mesh/mesh.c
@@ -266,9 +266,6 @@  bool mesh_init(const char *config_dir, const char *mesh_conf_fname,
 	mesh_model_init();
 	mesh_agent_init();
 
-	mesh.prov_timeout = DEFAULT_PROV_TIMEOUT;
-	mesh.algorithms = DEFAULT_ALGORITHMS;
-
 	storage_dir = config_dir ? config_dir : MESH_STORAGEDIR;
 
 	l_info("Loading node configuration from %s", storage_dir);