Remove sanity check for None value

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei 2024-07-17 12:11:00 +02:00
parent 4706fe7f03
commit 91f1746f35
No known key found for this signature in database
GPG Key ID: 6310BD29B0BFF98C

View File

@ -639,10 +639,6 @@ class CryptoConfig(Config):
if name in PSA_UNSTABLE_FEATURE:
raise ValueError(f'Feature is unstable: \'{name}\'')
# If value is set to None correct it
if not value:
value = '1'
if name not in self.settings:
self.configfile.templates.append((name, '', '#define ' + name + ' '))