diff options
author | Adam Jackson <ajax@redhat.com> | 2009-02-04 22:48:52 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-02-04 22:48:52 -0500 |
commit | 8eca37cb8934e79f02291460eb7b49a5d528f391 (patch) | |
tree | 2aa99dfd15d52a3940ab8e39e25377cdb1e93da1 | |
parent | b013111e98d50f5962e9b275eb28d969d5c9576e (diff) |
Bus: Remove unused xf86ExtractTypeFromList
-rw-r--r-- | hw/xfree86/common/xf86Bus.c | 13 | ||||
-rw-r--r-- | hw/xfree86/common/xf86Bus.h | 2 |
2 files changed, 0 insertions, 15 deletions
diff --git a/hw/xfree86/common/xf86Bus.c b/hw/xfree86/common/xf86Bus.c index ece87528c..d320078a8 100644 --- a/hw/xfree86/common/xf86Bus.c +++ b/hw/xfree86/common/xf86Bus.c @@ -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. diff --git a/hw/xfree86/common/xf86Bus.h b/hw/xfree86/common/xf86Bus.h index be19e1984..518294cf7 100644 --- a/hw/xfree86/common/xf86Bus.h +++ b/hw/xfree86/common/xf86Bus.h @@ -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 */ |