mirror of
https://github.com/torvalds/linux.git
synced 2025-04-09 14:45:27 +00: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:
parent
226ac19c21
commit
ab5bc764bd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user