From 91f1746f354a1d5f243a647b52962721fbee4f91 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Wed, 17 Jul 2024 12:11:00 +0200 Subject: [PATCH] Remove sanity check for `None` value Signed-off-by: Gabor Mezei --- scripts/config.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/config.py b/scripts/config.py index 491a43a03e..150078a695 100755 --- a/scripts/config.py +++ b/scripts/config.py @@ -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 + ' '))