From 58d6eb5024ff23a887798feb411b77b7d4469a4f Mon Sep 17 00:00:00 2001 From: TRodziewicz Date: Wed, 2 Jun 2021 14:43:11 +0200 Subject: [PATCH] Removing unneeded comment Signed-off-by: TRodziewicz --- library/psa_crypto.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/psa_crypto.c b/library/psa_crypto.c index c3dc6e7549..214c405b30 100644 --- a/library/psa_crypto.c +++ b/library/psa_crypto.c @@ -1019,10 +1019,6 @@ psa_status_t psa_wipe_key_slot( psa_key_slot_t *slot ) { psa_status_t status = psa_remove_key_data_from_memory( slot ); - /* - * As the return error code may not be handled in case of multiple errors, - * do our best to report an unexpected lock counter. - */ if( slot->lock_count != 1 ) { status = PSA_ERROR_CORRUPTION_DETECTED;