init/main.c: remove unnecessary (void*) conversions
authorZhou jie <zhoujie@nfschina.com>
Wed, 28 Sep 2022 01:45:39 +0000 (09:45 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 3 Oct 2022 21:21:45 +0000 (14:21 -0700)
commit374d6cda7946431611c41cbb6e75dc4a25727ea8
tree7120655877e6156ef371f5a5b1a88b353226270f
parentef1d61781bc6708ccc4a21262cc80a7dad952e04
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: 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>
init/main.c