summaryrefslogtreecommitdiff
path: root/src/common_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common_init.c')
-rw-r--r--src/common_init.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/common_init.c b/src/common_init.c
index b20d3d5..7c9db9c 100644
--- a/src/common_init.c
+++ b/src/common_init.c
@@ -112,22 +112,14 @@ pci_system_cleanup( void )
}
}
-#ifdef __sparc
- if ( pci_sys->methods->destroy != NULL ) {
- (*pci_sys->methods->destroy)();
- }
-#endif
-
free( pci_sys->devices );
pci_sys->devices = NULL;
pci_sys->num_devices = 0;
}
-#ifndef __sparc
if ( pci_sys->methods->destroy != NULL ) {
(*pci_sys->methods->destroy)();
}
-#endif
free( pci_sys );
pci_sys = NULL;