modesetting: Remove redundant GLAMOR_HAS_GBM #ifdef from ms_do_pageflip

This #ifdef is redundant since ms_do_pageflip is already enclosed within a
larger GLAMOR_HAS_GBM #ifdef.

No functional change.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Reviewed-by: Martin Roukala <martin.roukala@mupuf.org>
This commit is contained in:
Sultan Alsawaf 2023-01-22 14:56:36 -08:00
parent d6b20f5e36
commit 7288b4d105

View File

@ -321,9 +321,6 @@ ms_do_pageflip(ScreenPtr screen,
ms_pageflip_abort_proc pageflip_abort,
const char *log_prefix)
{
#ifndef GLAMOR_HAS_GBM
return FALSE;
#else
ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
modesettingPtr ms = modesettingPTR(scrn);
xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(scrn);
@ -478,7 +475,6 @@ error_out:
flipdata->flip_count--;
return FALSE;
#endif /* GLAMOR_HAS_GBM */
}
static void