mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03: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:
@ -8413,7 +8413,6 @@ psa_status_t psa_pake_output(
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = PSA_SUCCESS;
|
|
||||||
exit:
|
exit:
|
||||||
LOCAL_OUTPUT_FREE(output_external, output);
|
LOCAL_OUTPUT_FREE(output_external, output);
|
||||||
if (status != PSA_SUCCESS) {
|
if (status != PSA_SUCCESS) {
|
||||||
@ -8491,7 +8490,6 @@ psa_status_t psa_pake_input(
|
|||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
status = PSA_SUCCESS;
|
|
||||||
exit:
|
exit:
|
||||||
LOCAL_INPUT_FREE(input_external, input);
|
LOCAL_INPUT_FREE(input_external, input);
|
||||||
if (status != PSA_SUCCESS) {
|
if (status != PSA_SUCCESS) {
|
||||||
|
Reference in New Issue
Block a user