proc: Removed function pointer being cast to void * for no reason
JIRA:
@@ -295,7 +295,7 @@ int proc_start(void (*initthr)(void *), void *arg, const char *path)
process_alloc(process);
perf_fork(process);
- if (proc_threadCreate(process, (void *)initthr, NULL, 4, SIZE_KSTACK, NULL, 0, (void *)arg) < 0) {
+ if (proc_threadCreate(process, initthr, NULL, 4, SIZE_KSTACK, NULL, 0, (void *)arg) < 0) {
vm_kfree(process->path);
vm_kfree(process);
return -EINVAL;
