Remove superfluous motion history allocation.

The motion history buffer is allocated during InitValuatorClassDeviceStruct
anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
master
Peter Hutterer 17 years ago
parent 32242871f7
commit c58bae0b77
  1. 3
      src/evdev.c

@ -935,9 +935,6 @@ EvdevAddAbsClass(DeviceIntPtr device)
10000, 0, 10000);
xf86InitValuatorDefaults(device, 2);
}
xf86MotionHistoryAllocate(pInfo);
if (!InitPtrFeedbackClassDeviceStruct(device, EvdevPtrCtrlProc))
return !Success;

Loading…
Cancel
Save