kconfig: avoid multiple calls to strlen
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 13 Jul 2013 13:09:43 +0000 (15:09 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Wed, 23 Oct 2013 20:21:22 +0000 (22:21 +0200)
commit4c9a4d5505c463aa2a35b6a199910fd92e387566
tree6a9bc5edacb10f15de191094afbf7a2318d18dd8
parent48f3c1c38c4e6b786938dbe813743953e722b01e
kconfig: avoid multiple calls to strlen

Calls to strlen are costly, so avoid calling strln as much as we can.

Reported-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
config/symbol.c