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>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1611>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-07-19 17:04:34 +02:00 committed by Marge Bot
parent bd40e9f836
commit e97adda52d

View File

@ -1023,7 +1023,7 @@ ms_unwrap_property_requests(ScrnInfoPtr scrn)
}
static void
FreeRec(ScrnInfoPtr pScrn)
FreeScreen(ScrnInfoPtr pScrn)
{
modesettingPtr ms;
@ -2214,12 +2214,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)
{