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>
This commit is contained in:
parent
3bb15b3e04
commit
9a3daf908c
|
@ -1701,12 +1701,6 @@ ProcVidModeDispatch(ClientPtr client)
|
|||
}
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcVidModeQueryVersion(ClientPtr client)
|
||||
{
|
||||
return ProcVidModeQueryVersion(client);
|
||||
}
|
||||
|
||||
static int _X_COLD
|
||||
SProcVidModeGetModeLine(ClientPtr client)
|
||||
{
|
||||
|
@ -2044,7 +2038,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:
|
||||
|
|
Loading…
Reference in New Issue