Remove unnecessary checks in psa_jpake_prologue()

These checks are not needed as long as the state is intact.

Signed-off-by: David Horstmann <david.horstmann@arm.com>
diff --git a/library/psa_crypto.c b/library/psa_crypto.c
index 6303abb..0a549ef 100644
--- a/library/psa_crypto.c
+++ b/library/psa_crypto.c
@@ -8047,19 +8047,6 @@
         return PSA_ERROR_BAD_STATE;
     }
 
-    /* Check that we do not already have enough inputs/outputs for
-     * this round */
-    if (io_mode == PSA_JPAKE_INPUT) {
-        if (computation_stage->inputs >=
-            PSA_JPAKE_EXPECTED_INPUTS(computation_stage->round)) {
-            return PSA_ERROR_BAD_STATE;
-        }
-    } else {
-        if (computation_stage->outputs >=
-            PSA_JPAKE_EXPECTED_OUTPUTS(computation_stage->round)) {
-            return PSA_ERROR_BAD_STATE;
-        }
-    }
     return PSA_SUCCESS;
 }