summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-09-01 14:15:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-06-29 05:15:03 +1000
commite0b8c504b038c69a22835823756593b3fba28d96 (patch)
tree81b8e322bf0a7c26064de88049f685a8f1f7fe50
parent40fbab058623537bdde92b55eddedd3a681958ac (diff)
downloadxf86-input-wacom-e0b8c504b038c69a22835823756593b3fba28d96.tar.gz
Don't set old_x/old_y on init.
These fields are unused and to be removed soon anyway. Don't init them, we don't access them at any time. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Ping Cheng <pinglinux@gmail.com> (cherry picked from commit 2515103d4672c1cdf4c2d0ac6e7a55ab1201da24)
-rw-r--r--src/wcmConfig.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wcmConfig.c b/src/wcmConfig.c
index 3697b2f..101851d 100644
--- a/src/wcmConfig.c
+++ b/src/wcmConfig.c
@@ -66,8 +66,6 @@ static int wcmAllocate(InputInfoPtr pInfo)
pInfo->dev = NULL;
pInfo->private = priv;
pInfo->private_flags = 0;
- pInfo->old_x = -1;
- pInfo->old_y = -1;
priv->next = NULL;
priv->pInfo = pInfo;