summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2010-09-02 10:41:27 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2010-09-10 09:09:02 +1000
commit5ab8ca0807f9d2f8c8de2f9a1421e59e2a8e976c (patch)
treed846ff02fbbfbdabe1d5dbb7bf7af73979d8516e
parentb0da1bc509446a714eb2b29cbd35d43b1e5187ed (diff)
xfree86: remove some ifdef 0 code.
InputInfoRec hasn't had a free function pointer since the git import. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Fernando Carrijo <fcarrijo@freedesktop.org>
-rw-r--r--hw/xfree86/common/xf86Xinput.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c
index b2779864b..ee6d785bd 100644
--- a/hw/xfree86/common/xf86Xinput.c
+++ b/hw/xfree86/common/xf86Xinput.c
@@ -686,12 +686,6 @@ xf86DeleteInput(InputInfoPtr pInp, int flags)
if (pInp == NULL)
return;
-#if 0
- /* If a free function is defined, call it here. */
- if (pInp->free)
- pInp->free(pInp, 0);
-#endif
-
if (pInp->module)
UnloadModule(pInp->module);