From dd0eb76337bfdaec8f456380a6ced9e0487e190f Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 21 Oct 2005 18:40:18 +0000 Subject: Bug #4829: Remove some useless DRI symbol checks. --- src/atidri.c | 1 - src/r128_dri.c | 1 - src/radeon_dri.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/atidri.c b/src/atidri.c index 09855eb4..21566030 100644 --- a/src/atidri.c +++ b/src/atidri.c @@ -1087,7 +1087,6 @@ Bool ATIDRIScreenInit( ScreenPtr pScreen ) * for known symbols in each module. */ if ( !xf86LoaderCheckSymbol("GlxSetVisualConfigs") ) return FALSE; - if ( !xf86LoaderCheckSymbol("DRIScreenInit") ) return FALSE; if ( !xf86LoaderCheckSymbol("drmAvailable") ) return FALSE; if ( !xf86LoaderCheckSymbol("DRIQueryVersion") ) { xf86DrvMsg( pScreen->myNum, X_ERROR, diff --git a/src/r128_dri.c b/src/r128_dri.c index 6e60dd47..41e238e8 100644 --- a/src/r128_dri.c +++ b/src/r128_dri.c @@ -977,7 +977,6 @@ Bool R128DRIScreenInit(ScreenPtr pScreen) /* Check that the GLX, DRI, and DRM modules have been loaded by testing * for known symbols in each module. */ if (!xf86LoaderCheckSymbol("GlxSetVisualConfigs")) return FALSE; - if (!xf86LoaderCheckSymbol("DRIScreenInit")) return FALSE; if (!xf86LoaderCheckSymbol("drmAvailable")) return FALSE; if (!xf86LoaderCheckSymbol("DRIQueryVersion")) { xf86DrvMsg(pScreen->myNum, X_ERROR, diff --git a/src/radeon_dri.c b/src/radeon_dri.c index 40c1296c..6ff08396 100644 --- a/src/radeon_dri.c +++ b/src/radeon_dri.c @@ -1211,7 +1211,6 @@ Bool RADEONDRIScreenInit(ScreenPtr pScreen) * for known symbols in each module. */ if (!xf86LoaderCheckSymbol("GlxSetVisualConfigs")) return FALSE; - if (!xf86LoaderCheckSymbol("DRIScreenInit")) return FALSE; if (!xf86LoaderCheckSymbol("drmAvailable")) return FALSE; if (!xf86LoaderCheckSymbol("DRIQueryVersion")) { xf86DrvMsg(pScreen->myNum, X_ERROR, -- cgit v1.2.3