From 5ab8ca0807f9d2f8c8de2f9a1421e59e2a8e976c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 2 Sep 2010 10:41:27 +1000 Subject: [PATCH] xfree86: remove some ifdef 0 code. InputInfoRec hasn't had a free function pointer since the git import. Signed-off-by: Peter Hutterer Reviewed-by: Tiago Vignatti Reviewed-by: Fernando Carrijo --- hw/xfree86/common/xf86Xinput.c | 6 ------ 1 file changed, 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);