mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 19:01:45 -04:00
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