diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2013-04-23 15:43:40 +0200 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2013-04-23 15:43:40 +0200 |
commit | 1e4187b50657065445a33148bfb2224005fb0dff (patch) | |
tree | be2a363d74215eab1c98be2776b408dfc98cff23 /src/hardware/LMI_ProcessorChipRealizesProvider.c | |
parent | e229f6f4752c30c4fb48c429174f81bbda02242d (diff) | |
download | openlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.tar.gz openlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.tar.xz openlmi-providers-1e4187b50657065445a33148bfb2224005fb0dff.zip |
Hardware: Added Physical Memory Provider
New Providers:
* LMI_PhysicalMemoryProvider
* LMI_PhysicalMemoryRealizesProvider
Other Changes:
* Fixed InstanceID in hardware to match the rest of the providers
* Removed some unused variables
Diffstat (limited to 'src/hardware/LMI_ProcessorChipRealizesProvider.c')
-rw-r--r-- | src/hardware/LMI_ProcessorChipRealizesProvider.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/hardware/LMI_ProcessorChipRealizesProvider.c b/src/hardware/LMI_ProcessorChipRealizesProvider.c index 6dfd4bf..55efba8 100644 --- a/src/hardware/LMI_ProcessorChipRealizesProvider.c +++ b/src/hardware/LMI_ProcessorChipRealizesProvider.c @@ -59,7 +59,6 @@ static CMPIStatus LMI_ProcessorChipRealizesEnumInstances( LMI_ProcessorChipRef lmi_cpu_chip; LMI_ProcessorRef lmi_cpu; const char *ns = KNameSpace(cop); - char *error_msg = NULL; unsigned i; DmiProcessor *dmi_cpus = NULL; unsigned dmi_cpus_nb = 0; @@ -95,10 +94,6 @@ static CMPIStatus LMI_ProcessorChipRealizesEnumInstances( done: dmi_free_processors(&dmi_cpus, &dmi_cpus_nb); - if (error_msg) { - KReturn2(_cb, ERR_FAILED, error_msg); - } - CMReturn(CMPI_RC_OK); } |