[PATCH] Remove unused parameter from get_vsms()

# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1194571829 28800 # Node ID 7ca1a71de7d47452ea49c6be5f11365b9bb6a947 # Parent 691b1ebbe2adc285c31006f71a3abc702c268add Remove unused parameter from get_vsms() Signed-off-by: Dan Smith <danms@us.ibm.com> diff -r 691b1ebbe2ad -r 7ca1a71de7d4 src/Virt_HostedService.c --- a/src/Virt_HostedService.c Thu Nov 08 12:51:51 2007 -0800 +++ b/src/Virt_HostedService.c Thu Nov 08 17:30:29 2007 -0800 @@ -63,7 +63,7 @@ static CMPIStatus host_to_service(const if (!CMIsNullObject(inst)) inst_list_add(list, inst); - s = get_vsms(ref, &inst, _BROKER, 0); + s = get_vsms(ref, &inst, _BROKER); if (s.rc != CMPI_RC_OK) return s; if (!CMIsNullObject(inst)) diff -r 691b1ebbe2ad -r 7ca1a71de7d4 src/Virt_VirtualSystemManagementService.c --- a/src/Virt_VirtualSystemManagementService.c Thu Nov 08 12:51:51 2007 -0800 +++ b/src/Virt_VirtualSystemManagementService.c Thu Nov 08 17:30:29 2007 -0800 @@ -995,8 +995,7 @@ STDIM_MethodMIStub(, Virt_VirtualSystemM CMPIStatus get_vsms(const CMPIObjectPath *reference, CMPIInstance **_inst, - const CMPIBroker *broker, - int name_only) + const CMPIBroker *broker) { CMPIStatus s; CMPIInstance *inst; @@ -1057,7 +1056,7 @@ static CMPIStatus return_vsms(const CMPI CMPIInstance *inst; CMPIStatus s; - s = get_vsms(reference, &inst, _BROKER, name_only); + s = get_vsms(reference, &inst, _BROKER); if (s.rc != CMPI_RC_OK) goto out; @@ -1099,7 +1098,7 @@ static CMPIStatus GetInstance(CMPIInstan CMPIStatus s; const char *prop; - s = get_vsms(ref, &inst, _BROKER, 0); + s = get_vsms(ref, &inst, _BROKER); if (s.rc != CMPI_RC_OK) return s; diff -r 691b1ebbe2ad -r 7ca1a71de7d4 src/Virt_VirtualSystemManagementService.h --- a/src/Virt_VirtualSystemManagementService.h Thu Nov 08 12:51:51 2007 -0800 +++ b/src/Virt_VirtualSystemManagementService.h Thu Nov 08 17:30:29 2007 -0800 @@ -21,5 +21,4 @@ CMPIStatus get_vsms(const CMPIObjectPath *reference, CMPIInstance **_inst, - const CMPIBroker *broker, - int name_only); + const CMPIBroker *broker);

Dan Smith wrote:
# HG changeset patch # User Dan Smith <danms@us.ibm.com> # Date 1194571829 28800 # Node ID 7ca1a71de7d47452ea49c6be5f11365b9bb6a947 # Parent 691b1ebbe2adc285c31006f71a3abc702c268add Remove unused parameter from get_vsms()
Signed-off-by: Dan Smith <danms@us.ibm.com>
Nice catch - patch looks good. +1 I'll need to update HostedService to conform. -- Kaitlin Rupert IBM Linux Technology Center karupert@us.ibm.com

KR> I'll need to update HostedService to conform. The first hunk of that patch was to HostedService.c Is there anything else that needs to be done? -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com
participants (2)
-
Dan Smith
-
Kaitlin Rupert