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:
Enrico Weigelt, metux IT consult
2025-03-03 13:44:57 +01:00
committed by Enrico Weigelt, metux IT consult .
parent 37b7ea8f8a
commit c42e31bbee
2 changed files with 0 additions and 7 deletions

View File

@@ -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

View File

@@ -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) {