summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-11-25 00:14:24 -0500
committerAdam Jackson <ajax@redhat.com>2008-11-25 15:05:17 -0500
commitcbaca6ec666d7349c4680b8affc13b5c9cae1fa5 (patch)
tree7f420ce6d9f110f195d6afd13bc75cd96a2d0324 /hw
parenteb474adf98229a43bbe17ab98ff084371cb9fa09 (diff)
Remove dead FreeModuleDesc.
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/loader/loadmod.c18
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;