Commit 89b25c0e authored by Li zeming's avatar Li zeming Committed by Andrew Morton

arch/alpha/kernel/process.c: remove unnecessary (void*) conversions

generic_ptr is a void * type and does not require a cast.

Link: https://lkml.kernel.org/r/20221213073633.3586-1-zeming@nfschina.comSigned-off-by: default avatarLi zeming <zeming@nfschina.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 829715a2
...@@ -74,7 +74,7 @@ struct halt_info { ...@@ -74,7 +74,7 @@ struct halt_info {
static void static void
common_shutdown_1(void *generic_ptr) common_shutdown_1(void *generic_ptr)
{ {
struct halt_info *how = (struct halt_info *)generic_ptr; struct halt_info *how = generic_ptr;
struct percpu_struct *cpup; struct percpu_struct *cpup;
unsigned long *pflags, flags; unsigned long *pflags, flags;
int cpuid = smp_processor_id(); int cpuid = smp_processor_id();
......
Markdown is supported
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