From 6a1f8f463d28c263a73b81b92d9d52a6cd3873cb Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 17 Feb 2009 14:54:49 +1000 Subject: Remove superfluous (and duplicate) call to xf86MotionHistoryAllocate. Signed-off-by: Peter Hutterer --- src/evdev.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/evdev.c b/src/evdev.c index 0fe3610..ca6aa49 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -988,15 +988,11 @@ EvdevAddRelClass(DeviceIntPtr device) i++; } - xf86MotionHistoryAllocate(pInfo); - if (!InitPtrFeedbackClassDeviceStruct(device, EvdevPtrCtrlProc)) return !Success; pInfo->flags |= XI86_POINTER_CAPABLE; - xf86MotionHistoryAllocate(pInfo); - return Success; } -- cgit v1.2.3