xfree86: Remove vestigial lastScrnFlag
Only the mga XAA code ever set this (hence the compat macro), since XAA is long gone this can go too. Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
		
							parent
							
								
									c7414f4d07
								
							
						
					
					
						commit
						a2c1260958
					
				| 
						 | 
				
			
			@ -155,8 +155,8 @@ extern _X_EXPORT EntityInfoPtr xf86GetEntityInfo(int entityIndex);
 | 
			
		|||
extern _X_EXPORT Bool xf86IsEntityPrimary(int entityIndex);
 | 
			
		||||
extern _X_EXPORT ScrnInfoPtr xf86FindScreenForEntity(int entityIndex);
 | 
			
		||||
 | 
			
		||||
extern _X_EXPORT int xf86GetLastScrnFlag(int entityIndex);
 | 
			
		||||
extern _X_EXPORT void xf86SetLastScrnFlag(int entityIndex, int scrnIndex);
 | 
			
		||||
#define xf86SetLastScrnFlag(e, s) do { } while (0)
 | 
			
		||||
 | 
			
		||||
extern _X_EXPORT Bool xf86IsEntityShared(int entityIndex);
 | 
			
		||||
extern _X_EXPORT void xf86SetEntityShared(int entityIndex);
 | 
			
		||||
extern _X_EXPORT Bool xf86IsEntitySharable(int entityIndex);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -553,25 +553,6 @@ xf86PostProbe(void)
 | 
			
		|||
                   "       for all framebuffer devices\n");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
xf86GetLastScrnFlag(int entityIndex)
 | 
			
		||||
{
 | 
			
		||||
    if (entityIndex < xf86NumEntities) {
 | 
			
		||||
        return xf86Entities[entityIndex]->lastScrnFlag;
 | 
			
		||||
    }
 | 
			
		||||
    else {
 | 
			
		||||
        return -1;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
xf86SetLastScrnFlag(int entityIndex, int scrnIndex)
 | 
			
		||||
{
 | 
			
		||||
    if (entityIndex < xf86NumEntities) {
 | 
			
		||||
        xf86Entities[entityIndex]->lastScrnFlag = scrnIndex;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
Bool
 | 
			
		||||
xf86IsEntityShared(int entityIndex)
 | 
			
		||||
{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -51,7 +51,6 @@ typedef struct {
 | 
			
		|||
    Bool active;
 | 
			
		||||
    Bool inUse;
 | 
			
		||||
    BusRec bus;
 | 
			
		||||
    int lastScrnFlag;
 | 
			
		||||
    DevUnion *entityPrivates;
 | 
			
		||||
    int numInstances;
 | 
			
		||||
    GDevPtr *devices;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue