mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Alan Coopersmith
parent
617ff59346
commit
78a91a837e
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user