diff options
author | Radek Novacek <rnovacek@redhat.com> | 2012-07-27 09:35:03 +0200 |
---|---|---|
committer | Radek Novacek <rnovacek@redhat.com> | 2012-07-27 09:35:03 +0200 |
commit | 171113535983029ab395341c8f8f3c92f320ea1a (patch) | |
tree | 2e7f2f064d29804666465166c114aa7f7845e134 /src/power/Linux_AssociatedPowerManagementServiceProvider.c | |
parent | 99b6e54a64d962d226679ca290117f114eaf8245 (diff) | |
download | openlmi-providers-171113535983029ab395341c8f8f3c92f320ea1a.tar.gz openlmi-providers-171113535983029ab395341c8f8f3c92f320ea1a.tar.xz openlmi-providers-171113535983029ab395341c8f8f3c92f320ea1a.zip |
Unify logging through all providers
Needs to be ported to sfcb/pegasus standard logging, using stderr for
now.
Diffstat (limited to 'src/power/Linux_AssociatedPowerManagementServiceProvider.c')
-rw-r--r-- | src/power/Linux_AssociatedPowerManagementServiceProvider.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/power/Linux_AssociatedPowerManagementServiceProvider.c b/src/power/Linux_AssociatedPowerManagementServiceProvider.c index 7d61d83..75be7d2 100644 --- a/src/power/Linux_AssociatedPowerManagementServiceProvider.c +++ b/src/power/Linux_AssociatedPowerManagementServiceProvider.c @@ -5,7 +5,6 @@ #include "power.h" -#include "trace.h" #include "globals.h" static const CMPIBroker* _cb; @@ -25,11 +24,8 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceCleanup( const CMPIContext* cc, CMPIBoolean term) { - TRACE(1, "Linux_AssociatedPowerManagementServiceCleanup\n"); - power_unref(mi->hdl); mi->hdl = NULL; - CMReturn(CMPI_RC_OK); } @@ -39,8 +35,6 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceEnumInstanceNames( const CMPIResult* cr, const CMPIObjectPath* cop) { - TRACE(1, "Linux_AssociatedPowerManagementServiceEnumInstanceNames\n"); - return KDefaultEnumerateInstanceNames( _cb, mi, cc, cr, cop); } @@ -52,8 +46,6 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceEnumInstances( const CMPIObjectPath* cop, const char** properties) { - TRACE(1, "Linux_AssociatedPowerManagementServiceEnumInstances\n"); - const char *ns = KNameSpace(cop); Linux_AssociatedPowerManagementService w; @@ -95,8 +87,6 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceGetInstance( const CMPIObjectPath* cop, const char** properties) { - TRACE(1, "Linux_AssociatedPowerManagementServiceGetInstance\n"); - return KDefaultGetInstance( _cb, mi, cc, cr, cop, properties); } @@ -164,12 +154,6 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceAssociators( const char* resultRole, const char** properties) { - TRACE(1, "Linux_AssociatedPowerManagementServiceAssociators\n" - "\tassocClass: %s\n" - "\tresultClass: %s\n" - "\trole: %s\n" - "\tresultRole: %s\n", assocClass, resultClass, role, resultRole); - if (!assocClass) { assocClass = "Linux_AssociatedPowerManagementService"; } @@ -198,12 +182,6 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceAssociatorNames( const char* role, const char* resultRole) { - TRACE(1, "Linux_AssociatedPowerManagementServiceAssociatorNames\n" - "\tassocClass: %s\n" - "\tresultClass: %s\n" - "\trole: %s\n" - "\tresultRole: %s\n", assocClass, resultClass, role, resultRole); - if (!assocClass) { assocClass = "Linux_AssociatedPowerManagementService"; } @@ -230,10 +208,6 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceReferences( const char* role, const char** properties) { - TRACE(1, "Linux_AssociatedPowerManagementServiceReferences\n" - "\tassocClass: %s\n" - "\trole: %s\n", assocClass, role); - if (!assocClass) { assocClass = "Linux_AssociatedPowerManagementService"; } @@ -258,8 +232,6 @@ static CMPIStatus Linux_AssociatedPowerManagementServiceReferenceNames( const char* assocClass, const char* role) { - TRACE(1, "Linux_AssociatedPowerManagementServiceReferenceNames(assocClass: %s, role: %s)\n", assocClass, role); - if (!assocClass) { assocClass = "Linux_AssociatedPowerManagementService"; } |