From 053f56d3086082f8335cef906baba23ef8482a73 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 10 Sep 2010 10:23:19 +1000 Subject: Purge close_proc, hasn't been called by the server for ages. Signed-off-by: Peter Hutterer --- src/acecad.c | 6 ------ src/acecad.h | 1 - 2 files changed, 7 deletions(-) (limited to 'src') diff --git a/src/acecad.c b/src/acecad.c index 31ac14b..2cad693 100644 --- a/src/acecad.c +++ b/src/acecad.c @@ -349,7 +349,6 @@ AceCadPreInit(InputDriverPtr drv, IDevPtr dev, int flags) local->motion_history_proc = xf86GetMotionEvents; #endif local->control_proc = NULL; - local->close_proc = CloseProc; local->switch_mode = NULL; local->conversion_proc = ConvertProc; local->reverse_conversion_proc = ReverseConvertProc; @@ -1010,11 +1009,6 @@ USBReadInput (InputInfoPtr local) } #endif -static void -CloseProc (InputInfoPtr local) -{ -} - /* * The ConvertProc function may need to be tailored for your device. * This function converts the device's valuator outputs to x and y coordinates diff --git a/src/acecad.h b/src/acecad.h index 49721e0..342b940 100644 --- a/src/acecad.h +++ b/src/acecad.h @@ -101,7 +101,6 @@ static Bool DeviceOff (DeviceIntPtr); static Bool DeviceClose (DeviceIntPtr); static Bool DeviceInit (DeviceIntPtr); static void ReadInput (InputInfoPtr); -static void CloseProc (InputInfoPtr); static Bool ConvertProc (InputInfoPtr, int, int, int, int, int, int, int, int, int *, int *); static Bool ReverseConvertProc(InputInfoPtr , int , int , int*); static Bool QueryHardware (AceCadPrivatePtr); -- cgit v1.2.3