[PATCH 07/19] xfree86: remove some ifdef 0 code.
Peter Hutterer
peter.hutterer at who-t.net
Sun Sep 5 19:52:43 PDT 2010
InputInfoRec hasn't had a free function pointer since the git import.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
hw/xfree86/common/xf86Xinput.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c
index b277986..ee6d785 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);
--
1.7.2.2
More information about the xorg-devel
mailing list