kconfig: remove unnecessary cast in sym_get_string()
PATCH 1/1 kconfig: remove unnecessary cast in sym_get_string()
The explicit casting from (char *) to (const char *) is unneeded.
Signed-off-by Masahiro Yamada <[email protected]>
---
scripts/kconfig/symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/kconfig/symbol.c +1 -1
@@ -879,7 +879,7 @@ const char *sym_get_string_value(struct symbol *sym)default : ; } -return (const char *)sym->curr.val; +return sym->curr.val; }bool sym_is_changeable (const struct symbol *sym)
Signature · 1 line
2.43.0