init/main.c: remove unnecessary (void*) conversions
The void pointer object can be directly assigned to different structure objects, it does not need to be cast. Link: https://lkml.kernel.org/r/20220928014539.11046-1-zhoujie@nfschina.comSigned-off-by:Zhou jie <zhoujie@nfschina.com> Reviewed-by:
Andrew Halaney <ahalaney@redhat.com> Acked-by:
Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org>
Showing
Please register or sign in to comment