mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-10 13:14:30 +00:00
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:
parent
433a58c170
commit
7175d71328
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user