Skip to content
Commit 374d6cda authored by Zhou jie's avatar Zhou jie Committed by Andrew Morton
Browse files

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.com
Signed-off-by: default avatarZhou jie <zhoujie@nfschina.com>
Reviewed-by: default avatarAndrew Halaney <ahalaney@redhat.com>
Acked-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent ef1d6178
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment