mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
kdrive: drop unused return statements
Drop a bunch of return statements that don't do anything at all. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt, metux IT consult .
parent
37b7ea8f8a
commit
c42e31bbee
@@ -1296,7 +1296,6 @@ MouseDisable(KdPointerInfo * pi)
|
||||
{
|
||||
((EphyrPointerPrivate *) pi->driverPrivate)->enabled = FALSE;
|
||||
RemoveNotifyFd(hostx_get_fd());
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -1304,7 +1303,6 @@ MouseFini(KdPointerInfo * pi)
|
||||
{
|
||||
free(pi->driverPrivate);
|
||||
ephyrMouse = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
KdPointerDriver EphyrMouseDriver = {
|
||||
@@ -1368,7 +1366,6 @@ EphyrKeyboardFini(KdKeyboardInfo * ki)
|
||||
{
|
||||
free(ki->driverPrivate);
|
||||
ephyrKbd = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -311,8 +311,6 @@ KdPointerProc(DeviceIntPtr pDevice, int onoff)
|
||||
return BadImplementation;
|
||||
}
|
||||
|
||||
return Success;
|
||||
|
||||
case DEVICE_OFF:
|
||||
if (pDev->on == FALSE) {
|
||||
return Success;
|
||||
@@ -327,8 +325,6 @@ KdPointerProc(DeviceIntPtr pDevice, int onoff)
|
||||
return Success;
|
||||
}
|
||||
|
||||
return Success;
|
||||
|
||||
case DEVICE_CLOSE:
|
||||
if (pDev->on) {
|
||||
if (!pi->driver->Disable) {
|
||||
|
||||
Reference in New Issue
Block a user