xfree86: modes: drop unused xf86_driver_has_show_cursor()

Fix warning on unused function:

> ../hw/xfree86/modes/xf86Cursors.c:212:1: warning: unused function 'xf86_driver_has_show_cursor' [-Wunused-function]
> xf86_driver_has_show_cursor(xf86CrtcPtr crtc)
> ^

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1428>
This commit is contained in:
Enrico Weigelt, metux IT consult 2024-03-20 19:32:40 +01:00 committed by Marge Bot
parent a532c93206
commit 20d0545f0d

View File

@ -208,12 +208,6 @@ set_bit(CARD8 *image, xf86CursorInfoPtr cursor_info, int x, int y, Bool mask)
* Wrappers to deal with API compatibility with drivers that don't expose
* *_cursor_*_check
*/
static inline Bool
xf86_driver_has_show_cursor(xf86CrtcPtr crtc)
{
return crtc->funcs->show_cursor_check || crtc->funcs->show_cursor;
}
static inline Bool
xf86_driver_has_load_cursor_image(xf86CrtcPtr crtc)
{