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)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:30:17 +0000 (22:30 +0100)
commitf239f43b91dfa5fbec1a8d19b41db0b792d4c751
tree99cc8c92514ab4af932334555896611d6647c357
parent91f5df61ee2bc90fda695d3a0db33b07916001ba
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/confdata.c