(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:
parent
da9bcd9a07
commit
e4be1e71fe
|
@ -912,7 +912,7 @@ msSetWindowVRRMode(WindowPtr window, WindowVRRMode mode)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
FreeRec(ScrnInfoPtr pScrn)
|
FreeScreen(ScrnInfoPtr pScrn)
|
||||||
{
|
{
|
||||||
modesettingPtr ms;
|
modesettingPtr ms;
|
||||||
|
|
||||||
|
@ -2093,12 +2093,6 @@ AdjustFrame(ScrnInfoPtr pScrn, int x, int y)
|
||||||
drmmode_adjust_frame(pScrn, &ms->drmmode, x, y);
|
drmmode_adjust_frame(pScrn, &ms->drmmode, x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
|
||||||
FreeScreen(ScrnInfoPtr pScrn)
|
|
||||||
{
|
|
||||||
FreeRec(pScrn);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
LeaveVT(ScrnInfoPtr pScrn)
|
LeaveVT(ScrnInfoPtr pScrn)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue