xfree86: drop obsolete xf86GetEntityForSbusInfo()
Not used anywhere, neither Xserver nor drivers, so no need to keep it anymore.
According to git history, it had been introduced introduced in 2003 (*1),
but never called (inside the Xserver) - unclear whether it ever had been
actually used somewhere.
*1) 9508a382f8
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
3556c0fd62
commit
4de5adef96
|
@ -562,23 +562,6 @@ xf86GetSbusInfoForEntity(int entityIndex)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
int
|
||||
xf86GetEntityForSbusInfo(sbusDevicePtr psdp)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; i < xf86NumEntities; i++) {
|
||||
EntityPtr p = xf86Entities[i];
|
||||
|
||||
if (p->bus.type != BUS_SBUS)
|
||||
continue;
|
||||
|
||||
if (p->bus.id.sbus.fbNum == psdp->fbNum)
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
void
|
||||
xf86SbusUseBuiltinMode(ScrnInfoPtr pScrn, sbusDevicePtr psdp)
|
||||
{
|
||||
|
|
|
@ -54,7 +54,6 @@ extern _X_EXPORT int xf86MatchSbusInstances(const char *driverName,
|
|||
int numDevs, DriverPtr drvp,
|
||||
int **foundEntities);
|
||||
extern _X_EXPORT sbusDevicePtr xf86GetSbusInfoForEntity(int entityIndex);
|
||||
extern _X_EXPORT int xf86GetEntityForSbusInfo(sbusDevicePtr psdp);
|
||||
extern _X_EXPORT void xf86SbusUseBuiltinMode(ScrnInfoPtr pScrn,
|
||||
sbusDevicePtr psdp);
|
||||
extern _X_EXPORT void *xf86MapSbusMem(sbusDevicePtr psdp,
|
||||
|
|
Loading…
Reference in New Issue