diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-12 06:54:58 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2012-12-12 06:54:58 +0100 |
| commit | 2f26f5c2e68a804a5f7f24482a46bf254c1120a2 (patch) | |
| tree | 78ed64286f41334319ffcd478e17d14dc191e36b /kconfiglib.py | |
| parent | 462fbc4e873d274d719c6aab60286c3d4afdfe11 (diff) | |
Remove redundant check.
Diffstat (limited to 'kconfiglib.py')
| -rw-r--r-- | kconfiglib.py | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/kconfiglib.py b/kconfiglib.py index 95dfe2a..17afc7d 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -2925,11 +2925,6 @@ class Symbol(Item, _HasVisibility): self.parent._unset_user_value() def _should_write(self): - # This check shouldn't be necessary as write_to_conf is never modified - # in get_value() for special symbols, but just to be on the safe side: - if self.is_special_: - return False - # Symbols defined in multiple locations only get one entry in the # .config. if self.already_written: @@ -3239,11 +3234,11 @@ class Choice(Item, _HasVisibility): return self.block.get_items() def get_actual_items(self): - """A quirk (perhaps better described as a bug) of kconfig is that you - can put items within a choice that will not be considered members of - the choice insofar as selection is concerned. This happens for example - if one symbol within a choice 'depends on' the symbol preceding it, or - if you put non-symbol items within choices. + """A quirk (perhaps a bug) of Kconfig is that you can put items within + a choice that will not be considered members of the choice insofar as + selection is concerned. This happens for example if one symbol within a + choice 'depends on' the symbol preceding it, or if you put non-symbol + items within choices. This function gets a list of the "proper" elements of the choice in the order they appears in the choice, excluding such items.""" |
