[PATCH acecad 5/7] Purge close_proc, hasn't been called by the server for ages.
Peter Hutterer
peter.hutterer at who-t.net
Thu Sep 9 17:56:39 PDT 2010
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
CC: Giuseppe Bilotta <giuseppe.bilotta at gmail.org>
---
src/acecad.c | 6 ------
src/acecad.h | 1 -
2 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/src/acecad.c b/src/acecad.c
index 3827191..fe4dd03 100644
--- a/src/acecad.c
+++ b/src/acecad.c
@@ -350,7 +350,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;
@@ -1011,11 +1010,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);
--
1.7.2.3
More information about the xorg-devel
mailing list