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:
parent
bd40e9f836
commit
e97adda52d
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue