diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2020-03-19 16:35:40 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2020-03-19 16:35:40 +0000 |
commit | d56b8bfafd08eca2ad5a7018ad5c114fc6270ab1 (patch) | |
tree | cd683c5fd20019a937241d234562c3ab86033c33 /sys/arch/arm | |
parent | 01d4c6a51dc2b47b4e15976bfde440712b5edb4c (diff) |
Remove an unnecessary type cast.
OK kettenis@
Diffstat (limited to 'sys/arch/arm')
-rw-r--r-- | sys/arch/arm/arm/vm_machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm/arm/vm_machdep.c b/sys/arch/arm/arm/vm_machdep.c index a3add64171e..d38da36a6c2 100644 --- a/sys/arch/arm/arm/vm_machdep.c +++ b/sys/arch/arm/arm/vm_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm_machdep.c,v 1.24 2018/06/30 15:23:35 deraadt Exp $ */ +/* $OpenBSD: vm_machdep.c,v 1.25 2020/03/19 16:35:39 visa Exp $ */ /* $NetBSD: vm_machdep.c,v 1.31 2004/01/04 11:33:29 jdolecek Exp $ */ /* @@ -90,7 +90,7 @@ void cpu_fork(struct proc *p1, struct proc *p2, void *stack, void *tcb, void (*func)(void *), void *arg) { - struct pcb *pcb = (struct pcb *)&p2->p_addr->u_pcb; + struct pcb *pcb = &p2->p_addr->u_pcb; struct trapframe *tf; struct switchframe *sf; |