Bus: Remove unused xf86ExtractTypeFromList

This commit is contained in:
Adam Jackson 2009-02-04 22:48:52 -05:00
parent b013111e98
commit 8eca37cb89
2 changed files with 0 additions and 15 deletions

View File

@ -2351,19 +2351,6 @@ xf86FindComplement(resRange Range)
}
#endif
resPtr
xf86ExtractTypeFromList(resPtr list, unsigned long type)
{
resPtr ret = NULL;
while (list) {
if ((list->res_type & ResTypeMask) == type)
ret = xf86AddResToList(ret,&(list->val),list->entityIndex);
list = list->next;
}
return ret;
}
/*
* xf86FindPrimaryDevice() - Find the display device which
* was active when the server was started.

View File

@ -135,7 +135,5 @@ extern BusAccPtr xf86BusAccInfo;
int xf86AllocateEntity(void);
BusType StringToBusType(const char* busID, const char **retID);
Bool xf86IsSubsetOf(resRange range, resPtr list);
resPtr xf86ExtractTypeFromList(resPtr list, unsigned long type);
resPtr xf86FindIntersect(resRange Range, resPtr list);
#endif /* _XF86_BUS_H */