Remove superfluous (and duplicate) call to xf86MotionHistoryAllocate.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2009-02-17 14:54:49 +10:00
parent 9620fe7765
commit 6a1f8f463d

View File

@@ -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;
}