(submit/clean-modsetting-1) xfree86: modesetting: merge FreeRec() into FreeScreen()

No need to have one function doing nothing more than calling another one
with the same prototype.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-07-19 17:04:34 +02:00
parent da9bcd9a07
commit e4be1e71fe

View File

@ -912,7 +912,7 @@ msSetWindowVRRMode(WindowPtr window, WindowVRRMode mode)
}
static void
FreeRec(ScrnInfoPtr pScrn)
FreeScreen(ScrnInfoPtr pScrn)
{
modesettingPtr ms;
@ -2093,12 +2093,6 @@ AdjustFrame(ScrnInfoPtr pScrn, int x, int y)
drmmode_adjust_frame(pScrn, &ms->drmmode, x, y);
}
static void
FreeScreen(ScrnInfoPtr pScrn)
{
FreeRec(pScrn);
}
static void
LeaveVT(ScrnInfoPtr pScrn)
{