xfree86: xf86Config: drop unused xf86DRI2Enabled()

Not used anywhere, so no need to keep it around any longer.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-20 17:57:50 +02:00
parent 34529d788f
commit 224bcf234d
2 changed files with 0 additions and 7 deletions

View File

@ -73,7 +73,6 @@ extern _X_EXPORT int platformSlotClaimed;
#endif #endif
extern _X_EXPORT confDRIRec xf86ConfigDRI; extern _X_EXPORT confDRIRec xf86ConfigDRI;
extern _X_EXPORT Bool xf86DRI2Enabled(void);
#define XF86SCRNINFO(p) xf86ScreenToScrn(p) #define XF86SCRNINFO(p) xf86ScreenToScrn(p)

View File

@ -972,12 +972,6 @@ configServerFlags(XF86ConfFlagsPtr flagsconf, XF86OptionPtr layoutopts)
LimitClients, RESOURCE_ID_MASK); LimitClients, RESOURCE_ID_MASK);
} }
Bool
xf86DRI2Enabled(void)
{
return xf86Info.dri2;
}
/** /**
* Search for the pInfo in the null-terminated list given and remove (and * Search for the pInfo in the null-terminated list given and remove (and
* free) it if present. All other devices are moved forward. * free) it if present. All other devices are moved forward.