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>
This commit is contained in:
parent
b0da1bc509
commit
5ab8ca0807
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user