File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
subsys/secure_storage/src/its/store Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ static int init_settings_subsys(void)
2020 const int ret = settings_subsys_init ();
2121
2222 if (ret ) {
23- LOG_DBG ("Failed to initialize the settings subsystem . (%d)" , ret );
23+ LOG_DBG ("Failed. (%d)" , ret );
2424 }
2525 return ret ;
2626}
@@ -107,9 +107,7 @@ psa_status_t secure_storage_its_store_remove(secure_storage_its_uid_t uid)
107107
108108 make_name (uid , name );
109109 ret = settings_delete (name );
110- if (ret ) {
111- LOG_DBG ("Failed to delete %s. (%d)" , name , ret );
112- return PSA_ERROR_STORAGE_FAILURE ;
113- }
114- return PSA_SUCCESS ;
110+
111+ LOG_DBG ("%s %s. (%d)" , ret ? "Failed to delete" : "Deleted" , name , ret );
112+ return ret ? PSA_ERROR_STORAGE_FAILURE : PSA_SUCCESS ;
115113}
You can’t perform that action at this time.
0 commit comments