From c26dc73c1d3cecd2eaa497b2b82e28e36460c9aa Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 10 Aug 2003 14:53:12 +0000 Subject: [PATCH] Remove unecessary intermediate (void*) casts. --- sys/arch/sparc/sparc/svr4_machdep.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/arch/sparc/sparc/svr4_machdep.c b/sys/arch/sparc/sparc/svr4_machdep.c index 069ee7e5a192..1ff2b3138dd2 100644 --- a/sys/arch/sparc/sparc/svr4_machdep.c +++ b/sys/arch/sparc/sparc/svr4_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: svr4_machdep.c,v 1.49 2003/07/30 15:58:36 mrg Exp $ */ +/* $NetBSD: svr4_machdep.c,v 1.50 2003/08/10 14:53:12 martin Exp $ */ /*- * Copyright (c) 1994 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.49 2003/07/30 15:58:36 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: svr4_machdep.c,v 1.50 2003/08/10 14:53:12 martin Exp $"); #if defined(_KERNEL_OPT) #include "opt_kgdb.h" @@ -589,8 +589,8 @@ svr4_trap(type, l) tm = (u_quad_t) tv.tv_sec * 1000000000 + (u_quad_t) tv.tv_usec * 1000; - tf->tf_out[0] = ((u_int32_t *)(void *) &tm)[0]; - tf->tf_out[1] = ((u_int32_t *)(void *) &tm)[1]; + tf->tf_out[0] = ((u_int32_t *) &tm)[0]; + tf->tf_out[1] = ((u_int32_t *) &tm)[1]; } break; @@ -619,8 +619,8 @@ svr4_trap(type, l) tv.tv_usec - spc->spc_runtime.tv_usec) * 1000; - tf->tf_out[0] = ((u_int32_t *)(void *) &tm)[0]; - tf->tf_out[1] = ((u_int32_t *)(void *) &tm)[1]; + tf->tf_out[0] = ((u_int32_t *) &tm)[0]; + tf->tf_out[1] = ((u_int32_t *) &tm)[1]; } break;