diff options
author | Henry Zhao <henry.zhao@oracle.com> | 2012-12-18 15:10:46 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-15 11:49:02 -0800 |
commit | 3e17f069682a226c14bb29c802e776c6e39f7e8f (patch) | |
tree | d14d4d36ffce5fa180ad1f613647e7368d5cb41e /src/common_init.c | |
parent | 897cad2620ffbd6ecbbaea2a67fb973ec7990198 (diff) |
Solaris: Add domain support for sparc platform
As a result the code of finding nexus node for a device in sparc is
simplified and made the same as x86.
Signed-off-by: Henry Zhao <henry.zhao@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/common_init.c')
-rw-r--r-- | src/common_init.c | 8 |
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; |