From c58bae0b77b9e39ab341af994648ca22867271a2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 16 Feb 2009 12:05:45 +1000 Subject: Remove superfluous motion history allocation. The motion history buffer is allocated during InitValuatorClassDeviceStruct anyway. Signed-off-by: Peter Hutterer --- src/evdev.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3