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