remove unnecessary condition
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com>
diff --git a/scripts/generate_ssl_debug_helpers.py b/scripts/generate_ssl_debug_helpers.py
index 6c9d670..a722c19 100755
--- a/scripts/generate_ssl_debug_helpers.py
+++ b/scripts/generate_ssl_debug_helpers.py
@@ -88,8 +88,7 @@
if has_instance is False:
has_instance = True
yield pair_start, start_line
- if instance:
- yield instance.span()[0], instance
+ yield instance.span()[0], instance
if has_instance:
yield start, end_line