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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user