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:
parent
a532c93206
commit
20d0545f0d
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue