]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
kconfig: remove unneeded setsym label in conf_read_simple()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 30 Nov 2018 09:15:48 +0000 (18:15 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Dec 2018 01:40:52 +0000 (10:40 +0900)
commit75889e9be78febab9991f9c07fdf09d128562bf5
tree8213b1bf39312fa5f4cbe7ae37a3371ef190e998
parenta9b722847872d43595d072d7fd550f08fe6764fd
kconfig: remove unneeded setsym label in conf_read_simple()

The two 'goto setsym' statements are reachable only when sym == NULL.

The code below the 'setsym:' label does nothing when sym == NULL
since there is just one if-block guarded by 'if (sym && ...)'.

Hence, 'goto setsym' can be replaced with 'continue'.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/confdata.c