Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kconfig: remove unnecessary cast in sym_get_string()

The explicit casting from (char *) to (const char *) is unneeded.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+1 -1
+1 -1
scripts/kconfig/symbol.c
··· 879 879 default: 880 880 ; 881 881 } 882 - return (const char *)sym->curr.val; 882 + return sym->curr.val; 883 883 } 884 884 885 885 bool sym_is_changeable(const struct symbol *sym)