From 8cb0b11aadf52ae766e0e6cfdcc28c332bf1eb23 Mon Sep 17 00:00:00 2001 From: shadchin Date: Wed, 14 May 2014 18:14:09 +0000 Subject: [PATCH] Remove unused variables. ok miod@ --- usr.sbin/wsmoused/wsmoused.c | 4 +--- usr.sbin/wsmoused/wsmoused.h | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/usr.sbin/wsmoused/wsmoused.c b/usr.sbin/wsmoused/wsmoused.c index 2009ccd98b0..c060ae855bb 100644 --- a/usr.sbin/wsmoused/wsmoused.c +++ b/usr.sbin/wsmoused/wsmoused.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmoused.c,v 1.29 2013/11/24 01:06:19 deraadt Exp $ */ +/* $OpenBSD: wsmoused.c,v 1.30 2014/05/14 18:14:09 shadchin Exp $ */ /* * Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon @@ -93,8 +93,6 @@ mouse_t mouse = { .old_baudrate = 1200, .rate = MOUSE_RATE_UNKNOWN, .resolution = MOUSE_RES_UNKNOWN, - .zmap = 0, - .wmode = 0, .mfd = -1, .clickthreshold = 500, /* 0.5 sec */ }; diff --git a/usr.sbin/wsmoused/wsmoused.h b/usr.sbin/wsmoused/wsmoused.h index c42c564071c..192e4fb1539 100644 --- a/usr.sbin/wsmoused/wsmoused.h +++ b/usr.sbin/wsmoused/wsmoused.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wsmoused.h,v 1.8 2009/06/21 16:13:18 jacekm Exp $ */ +/* $OpenBSD: wsmoused.h,v 1.9 2014/05/14 18:14:09 shadchin Exp $ */ /* * Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon @@ -102,8 +102,6 @@ typedef struct mouse_s { int old_baudrate; unsigned char rate; /* report rate */ unsigned int resolution; /* MOUSE_RES_XXX or a positive number */ - int zmap; /* MOUSE_{X|Y}AXIS or a button number */ - int wmode; /* wheel mode button number */ int mfd; /* mouse file descriptor */ int cfd; /* console file descriptor */ long clickthreshold; /* double click speed in msec */ -- 2.20.1