From 6922b31a136b2b0ac185d61785969a11f84c7943 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 1 Sep 2010 14:35:40 +1000 Subject: [PATCH] xfree86: remove history_size For a couple of ABIs now the history size was essentially static anyway. Signed-off-by: Peter Hutterer --- hw/xfree86/common/xf86Xinput.c | 4 ---- hw/xfree86/common/xf86Xinput.h | 1 - 2 files changed, 5 deletions(-) diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index 0e094d248..1654103b7 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -280,9 +280,6 @@ xf86ProcessCommonOptions(InputInfoPtr pInfo, pInfo->flags |= XI86_ALWAYS_CORE; xf86Msg(X_CONFIG, "%s: always reports core events\n", pInfo->name); } - - /* Backwards compatibility. */ - pInfo->history_size = GetMotionHistorySize(); } /*********************************************************************** @@ -670,7 +667,6 @@ xf86AllocateInput(InputDriverPtr drv, IDevPtr idev) new->type_name = "UNKNOWN"; new->device_control = NULL; new->read_input = NULL; - new->history_size = 0; new->control_proc = NULL; new->close_proc = NULL; new->switch_mode = NULL; diff --git a/hw/xfree86/common/xf86Xinput.h b/hw/xfree86/common/xf86Xinput.h index ad59339a8..0ddfe70d0 100644 --- a/hw/xfree86/common/xf86Xinput.h +++ b/hw/xfree86/common/xf86Xinput.h @@ -130,7 +130,6 @@ typedef struct _InputInfoRec { InputDriverPtr drv; pointer module; pointer options; - unsigned int history_size; InputAttributes *attrs; } InputInfoRec, *InputInfoPtr;