]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90bc1d86ef765c0ace1314a35bfb0eb702fd6643
tree7120655877e6156ef371f5a5b1a88b353226270f
parent9f4a3290f23cbb0a08795a62e7f318b9b034a82b
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