diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-05 11:26:45 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-07-05 11:34:17 +1000 |
commit | 3a50eef1d05a3b07c1c8edfa97703857f79dbd48 (patch) | |
tree | 39e1eee330ff4c86fa38e04a6d5534175d162f2f | |
parent | 647c2d51b88e5d105c02b2a2dcaee4d72737fa7d (diff) |
Remove some if 0 code now obsolete
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86HyperPen.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/xf86HyperPen.c b/src/xf86HyperPen.c index 3abecf7..45ddfca 100644 --- a/src/xf86HyperPen.c +++ b/src/xf86HyperPen.c @@ -788,33 +788,6 @@ xf86HypSwitchMode(ClientPtr client, DeviceIntPtr dev, int mode) return Success; } -#if 0 -/* -** xf86HypAllocate -** Allocates the device structures for the HyperPen. -*/ -static InputInfoPtr -xf86HypAllocate(void) -{ - InputInfoPtr pInfo = xf86AllocateInput(hypDrv, 0); -#if defined (sun) && !defined(i386) - char *dev_name = getenv("HYPERPEN_DEV"); -#endif - - pInfo->type_name = "STYLUS" - pInfo->flags = 0; /*XI86_NO_OPEN_ON_INIT;*/ - pInfo->atom = 0; - pInfo->dev = NULL; - pInfo->private = priv; - pInfo->private_flags = 0; - pInfo->history_size = 0; - - - return pInfo; -} -#endif - - /* * xf86HypUninit -- * |