mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-02 01:50:33 -04: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;
|
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user