mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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>
(cherry picked from commit e97adda52d)
This commit is contained in:
committed by
Alan Coopersmith
parent
c0cf638136
commit
6bc94b0fdc
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user