diff options
author | Enrico Weigelt, metux IT consult <info@metux.net> | 2024-07-19 17:04:34 +0200 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-10-10 15:47:51 +0000 |
commit | e97adda52d66e8165fdb8d97146e3f1553396cb4 (patch) | |
tree | 8abb90cf07dda70af052eb65f09464a967825503 /hw/xfree86 | |
parent | bd40e9f836c237e953895ddd44d5b11200ad4fa7 (diff) |
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>
Diffstat (limited to 'hw/xfree86')
-rw-r--r-- | hw/xfree86/drivers/modesetting/driver.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c index 05e9e459f..3a06fd95d 100644 --- a/hw/xfree86/drivers/modesetting/driver.c +++ b/hw/xfree86/drivers/modesetting/driver.c @@ -1023,7 +1023,7 @@ ms_unwrap_property_requests(ScrnInfoPtr scrn) } static void -FreeRec(ScrnInfoPtr pScrn) +FreeScreen(ScrnInfoPtr pScrn) { modesettingPtr ms; @@ -2215,12 +2215,6 @@ AdjustFrame(ScrnInfoPtr pScrn, int x, int y) } static void -FreeScreen(ScrnInfoPtr pScrn) -{ - FreeRec(pScrn); -} - -static void LeaveVT(ScrnInfoPtr pScrn) { modesettingPtr ms = modesettingPTR(pScrn); |