diff mbox

apci: method: don't bother dumping out the _DOD contents

Message ID 1355340112-2761-1-git-send-email-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King Dec. 12, 2012, 7:21 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

Dumping the _DOD contents just clutters up the method test
output, so don't dump it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/acpi/method/method.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Keng-Yu Lin Dec. 18, 2012, 2:45 a.m. UTC | #1
On Thu, Dec 13, 2012 at 3:21 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Dumping the _DOD contents just clutters up the method test
> output, so don't dump it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/acpi/method/method.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index df3e45b..886b2bd 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -3536,8 +3536,6 @@ static void method_test_DOD_return(
>         if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) == FWTS_OK) {
>                 uint32_t i;
>
> -               fwts_method_dump_object(fw, obj);
> -
>                 for (i = 0; i < obj->Package.Count; i++) {
>                         if (obj->Package.Elements[i].Type != ACPI_TYPE_INTEGER)
>                                 failed++;
> --
> 1.8.0
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Ivan Hu Dec. 20, 2012, 2:30 a.m. UTC | #2
On 12/13/2012 03:21 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Dumping the _DOD contents just clutters up the method test
> output, so don't dump it.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/acpi/method/method.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
> index df3e45b..886b2bd 100644
> --- a/src/acpi/method/method.c
> +++ b/src/acpi/method/method.c
> @@ -3536,8 +3536,6 @@ static void method_test_DOD_return(
>   	if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) == FWTS_OK) {
>   		uint32_t i;
>
> -		fwts_method_dump_object(fw, obj);
> -
>   		for (i = 0; i < obj->Package.Count; i++) {
>   			if (obj->Package.Elements[i].Type != ACPI_TYPE_INTEGER)
>   				failed++;
>
Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox

Patch

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index df3e45b..886b2bd 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -3536,8 +3536,6 @@  static void method_test_DOD_return(
 	if (method_check_type(fw, name, buf, ACPI_TYPE_PACKAGE) == FWTS_OK) {
 		uint32_t i;
 
-		fwts_method_dump_object(fw, obj);
-
 		for (i = 0; i < obj->Package.Count; i++) {
 			if (obj->Package.Elements[i].Type != ACPI_TYPE_INTEGER)
 				failed++;