diff options
-rw-r--r-- | hw/xfree86/loader/loadmod.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c index 70c54a76a..e98f013c4 100644 --- a/hw/xfree86/loader/loadmod.c +++ b/hw/xfree86/loader/loadmod.c @@ -1134,24 +1134,6 @@ UnloadSubModule(ModuleDescPtr mod) } static void -FreeModuleDesc(ModuleDescPtr head) -{ - ModuleDescPtr sibs, prev; - - if (head == (ModuleDescPtr) 1) - return; - if (head->child) - FreeModuleDesc(head->child); - sibs = head; - while (sibs) { - prev = sibs; - sibs = sibs->sib; - TestFree(prev->name); - xfree(prev); - } -} - -static void RemoveChild(ModuleDescPtr child) { ModuleDescPtr mdp; |