Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pckbport Remove a couple of (void *) casts added in ...
details: https://anonhg.NetBSD.org/src/rev/8a952cb36757
branches: trunk
changeset: 779569:8a952cb36757
user: dsl <dsl%NetBSD.org@localhost>
date: Sun Jun 03 13:52:46 2012 +0000
description:
Remove a couple of (void *) casts added in the previous commin.
They aren't needed here (script error).
diffstat:
sys/dev/pckbport/synaptics.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 82a566dccc7e -r 8a952cb36757 sys/dev/pckbport/synaptics.c
--- a/sys/dev/pckbport/synaptics.c Sun Jun 03 11:37:44 2012 +0000
+++ b/sys/dev/pckbport/synaptics.c Sun Jun 03 13:52:46 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: synaptics.c,v 1.29 2012/06/02 21:36:45 dsl Exp $ */
+/* $NetBSD: synaptics.c,v 1.30 2012/06/03 13:52:46 dsl Exp $ */
/*
* Copyright (c) 2005, Steve C. Woodford
@@ -48,7 +48,7 @@
#include "opt_pms.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.29 2012/06/02 21:36:45 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: synaptics.c,v 1.30 2012/06/03 13:52:46 dsl Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -493,7 +493,7 @@
CTLTYPE_INT, "scale_x",
SYSCTL_DESCR("Horizontal movement scale factor"),
pms_sysctl_synaptics_verify, 0,
- (void *)&synaptics_scale_x,
+ &synaptics_scale_x,
0, CTL_HW, root_num, CTL_CREATE,
CTL_EOL)) != 0)
goto err;
@@ -505,7 +505,7 @@
CTLTYPE_INT, "scale_y",
SYSCTL_DESCR("Vertical movement scale factor"),
pms_sysctl_synaptics_verify, 0,
- (void *)&synaptics_scale_y,
+ &synaptics_scale_y,
0, CTL_HW, root_num, CTL_CREATE,
CTL_EOL)) != 0)
goto err;
Home |
Main Index |
Thread Index |
Old Index