diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index 88d5e2705..0885f13f9 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -279,8 +279,6 @@ xf86ConfigFbEntity(ScrnInfoPtr pScrn, int scrnFlag, int entityIndex, EntityProc init, EntityProc enter, EntityProc leave, void *private); -extern _X_EXPORT Bool -xf86IsScreenPrimary(ScrnInfoPtr pScrn); extern _X_EXPORT Bool xf86IsUnblank(int mode); diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index a666aeeef..391abffab 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -1612,18 +1612,6 @@ xf86ConfigFbEntity(ScrnInfoPtr pScrn, int scrnFlag, int entityIndex, return pScrn; } -Bool -xf86IsScreenPrimary(ScrnInfoPtr pScrn) -{ - int i; - - for (i = 0; i < pScrn->numEntities; i++) { - if (xf86IsEntityPrimary(i)) - return TRUE; - } - return FALSE; -} - Bool xf86IsUnblank(int mode) { diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml index e391b1dcb..86f01140f 100644 --- a/hw/xfree86/doc/ddxDesign.xml +++ b/hw/xfree86/doc/ddxDesign.xml @@ -2600,18 +2600,6 @@ Several functions are provided to simplify resource registration: -
- - Bool xf86IsScreenPrimary(ScrnInfoPtr pScrn); - -
- This function returns TRUE if the primary entity - is registered with the screen referenced by - pScrn. - - -
-
pciVideoPtr xf86GetPciInfoForEntity(int entityIndex);