mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 19:19:13 +00:00
(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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user