summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-02-16 12:05:45 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-02-16 13:19:48 +1000
commitc58bae0b77b9e39ab341af994648ca22867271a2 (patch)
tree9de4f9de174c20fd6f5538edfb1d33c99e555167 /src
parent32242871f7001e7e995d501a32f350120bad2fd6 (diff)
Remove superfluous motion history allocation.
The motion history buffer is allocated during InitValuatorClassDeviceStruct anyway. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/evdev.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/evdev.c b/src/evdev.c
index a635ad1..138f1a0 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -935,9 +935,6 @@ EvdevAddAbsClass(DeviceIntPtr device)
10000, 0, 10000);
xf86InitValuatorDefaults(device, 2);
}
-
- xf86MotionHistoryAllocate(pInfo);
-
if (!InitPtrFeedbackClassDeviceStruct(device, EvdevPtrCtrlProc))
return !Success;