Removing unneeded comment

Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
TRodziewicz 2021-06-02 14:43:11 +02:00
parent 358e588b32
commit 58d6eb5024

View File

@ -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;