summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-01-12 09:21:37 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-01-17 09:12:20 +1000
commit55b14facb4810e77157e76857d28c3bff0050953 (patch)
tree86801315fa37299d3f19d0dbea90b03d795b0ac9
parent6de28b4ca980e0fc6a77dd9c7144d9da9fb03d69 (diff)
downloadxf86-input-wacom-55b14facb4810e77157e76857d28c3bff0050953.tar.gz
Remove duplicate setting of v5/v6
Both are unconditionally set a few lines south of here Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/wcmCommon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index f0a2f86..ef63bad 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -874,8 +874,6 @@ void wcmSendEvents(WacomDevicePtr priv, const WacomDeviceState* ds)
wcmAxisSet(&axes, WACOM_AXIS_RING2, ds->abswheel2);
v3 = ds->stripx;
v4 = ds->stripy;
- v5 = ds->abswheel;
- v6 = ds->abswheel2;
/* use tx and ty to report stripx and stripy for the DBG below */
tx = ds->stripx;
ty = ds->stripy;