Remove unnecessary setting of status variable

The status is guaranteed to be PSA_SUCCESS at these points, so setting
them is redundant.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2024-02-09 18:20:05 +00:00
parent 433a58c170
commit 7175d71328

View File

@ -8413,7 +8413,6 @@ psa_status_t psa_pake_output(
goto exit;
}
status = PSA_SUCCESS;
exit:
LOCAL_OUTPUT_FREE(output_external, output);
if (status != PSA_SUCCESS) {
@ -8491,7 +8490,6 @@ psa_status_t psa_pake_input(
goto exit;
}
status = PSA_SUCCESS;
exit:
LOCAL_INPUT_FREE(input_external, input);
if (status != PSA_SUCCESS) {