Xext: vidmode: drop now obsolete swap procs

Several SProc's have become no-ops, just calling the actual Proc's,
so we can get rid of them entirely.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1639>
(cherry picked from commit 9a3daf908c)
This commit is contained in:
Enrico Weigelt, metux IT consult
2024-08-07 13:59:58 +02:00
committed by Alan Coopersmith
parent 617ff59346
commit 78a91a837e

View File

@@ -1703,12 +1703,6 @@ ProcVidModeDispatch(ClientPtr client)
}
}
static int _X_COLD
SProcVidModeQueryVersion(ClientPtr client)
{
return ProcVidModeQueryVersion(client);
}
static int _X_COLD
SProcVidModeGetModeLine(ClientPtr client)
{
@@ -2046,7 +2040,7 @@ SProcVidModeDispatch(ClientPtr client)
REQUEST(xReq);
switch (stuff->data) {
case X_XF86VidModeQueryVersion:
return SProcVidModeQueryVersion(client);
return ProcVidModeQueryVersion(client);
case X_XF86VidModeGetModeLine:
return SProcVidModeGetModeLine(client);
case X_XF86VidModeGetMonitor: