From 35e8acdb2d49f279862a99ea129a9bb260b0bc4a Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 29 Sep 2017 02:10:55 +0200 Subject: Only invalidate defined symbols Think I had it in the back of my head somewhere that not invalidating undefined symbols could break some obscure cases, but turns out it's perfectly safe: Nothing can change the value of an undefined symbol. They always get their name as their value. There's no need to unset user values on them either, because set_user_value() already refuses to to set one on them. Lets us get rid of the Python 2/3 compatibility hack and instead iterate over a plain list of defined symbols. --- tests/Kchain | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Kchain') diff --git a/tests/Kchain b/tests/Kchain index 643a949..d742c9e 100644 --- a/tests/Kchain +++ b/tests/Kchain @@ -75,6 +75,9 @@ config CHAIN_IMPLY_RELAY default y imply CHAIN_18 if CHAIN_17 +config CHAIN_18 + tristate "chain 19" + if CHAIN_18 = 0 config CHAIN_19 tristate "chain 19" -- cgit v1.2.3