Drop driver-specific motion history size handling.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
This commit is contained in:
Peter Hutterer
2010-12-03 09:27:24 +10:00
parent 8d90c97158
commit 61b249e75e

View File

@@ -781,7 +781,7 @@ xf86EloControl(DeviceIntPtr dev,
* screen to fit one meter.
*/
if (InitValuatorClassDeviceStruct(dev, 2, axis_labels,
pInfo->history_size, Absolute) == FALSE) {
GetMotionHistorySize(), Absolute) == FALSE) {
ErrorF("Unable to allocate Elographics touchscreen ValuatorClassDeviceStruct\n");
return !Success;
}
@@ -973,7 +973,6 @@ xf86EloAllocate(InputDriverPtr drv, IDevPtr dev)
pInfo->dev = NULL;
pInfo->private = priv;
pInfo->type_name = "Elographics TouchScreen";
pInfo->history_size = 0;
return pInfo;
}