Commit 8ebc4123 authored by Dong Chuanjian's avatar Dong Chuanjian Committed by Luis Chamberlain

kernel/sysctl.c: remove unnecessary (void*) conversions

remove unnecessary void* type casting
Signed-off-by: default avatarDong Chuanjian <chuanjian@nfschina.com>
Signed-off-by: default avatarLuis Chamberlain <mcgrof@kernel.org>
parent 9a521359
......@@ -1052,9 +1052,9 @@ static int __do_proc_doulongvec_minmax(void *data, struct ctl_table *table,
return 0;
}
i = (unsigned long *) data;
min = (unsigned long *) table->extra1;
max = (unsigned long *) table->extra2;
i = data;
min = table->extra1;
max = table->extra2;
vleft = table->maxlen / sizeof(unsigned long);
left = *lenp;
......
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