diff --git a/kconfiglib.py b/kconfiglib.py
index <HASH>..<HASH> 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3874,7 +3874,7 @@ def _finalize_choice(node):
     choice = node.item
 
     cur = node.list
-    while cur is not None:
+    while cur:
         if isinstance(cur.item, Symbol):
             cur.item.choice = choice
             choice.syms.append(cur.item)
Remove redundant 'is not None' test

Always a MenuNode or None. Can be tested simpler.