input: remove OpenInputDevice and CloseInputDevice DDX hooks.

In theory, these hooks were to be used for DDX-specific device enablement.
None of the DDXs however did anything here. Now we call DEVICE_INIT on all
devices when they are added, so the xfree86 DDX as the only one with real
code didn't do anything here.

kdrive checked for device validity but that's already handled in
ProcXOpenDevice.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
This commit is contained in:
Peter Hutterer
2010-07-30 14:21:14 +10:00
parent a46d2bb344
commit cb672a461c
8 changed files with 0 additions and 157 deletions

View File

@@ -2176,23 +2176,6 @@ ProcessInputEvents (void)
KdCheckLock ();
}
/* FIXME use XSECURITY to work out whether the client should be allowed to
* open and close. */
void
OpenInputDevice(DeviceIntPtr pDev, ClientPtr client, int *status)
{
if (!pDev)
*status = BadDevice;
else
*status = Success;
}
void
CloseInputDevice(DeviceIntPtr pDev, ClientPtr client)
{
return;
}
/* We initialise all input devices at startup. */
void
AddOtherInputDevices(void)