Bus: Remove unused xf86ExtractTypeFromList
This commit is contained in:
parent
b013111e98
commit
8eca37cb89
@ -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.
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user