From: Andrew Cooper Date: Thu, 15 Mar 2018 11:56:40 +0000 (+0000) Subject: tools/libacpi: Drop useless print messages X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~397 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6227a40f67adf535c1b7fcd9b95f7c42c0bb4ed9;p=xen.git tools/libacpi: Drop useless print messages Libraries have no buisness using stdout directly, and these have no real value. Dropping them removes the following output when building a PVH guest: [root@fusebot ~]# xl create shim.cfg Parsing config from shim.cfg S3 disabled S4 disabled CONV disabled [root@fusebot ~]# Signed-off-by: Andrew Cooper Reviewed-by: Roger Pau Monné Acked-by: Jan Beulich --- diff --git a/tools/libacpi/build.c b/tools/libacpi/build.c index f9881c9604..fa7d14e090 100644 --- a/tools/libacpi/build.c +++ b/tools/libacpi/build.c @@ -393,8 +393,6 @@ static int construct_secondary_tables(struct acpi_ctxt *ctxt, if (!ssdt) return -1; memcpy(ssdt, ssdt_s3, sizeof(ssdt_s3)); table_ptrs[nr_tables++] = ctxt->mem_ops.v2p(ctxt, ssdt); - } else { - printf("S3 disabled\n"); } if ( config->table_flags & ACPI_HAS_SSDT_S4 ) @@ -403,8 +401,6 @@ static int construct_secondary_tables(struct acpi_ctxt *ctxt, if (!ssdt) return -1; memcpy(ssdt, ssdt_s4, sizeof(ssdt_s4)); table_ptrs[nr_tables++] = ctxt->mem_ops.v2p(ctxt, ssdt); - } else { - printf("S4 disabled\n"); } if ( config->table_flags & ACPI_HAS_SSDT_LAPTOP_SLATE ) @@ -413,8 +409,6 @@ static int construct_secondary_tables(struct acpi_ctxt *ctxt, if (!ssdt) return -1; memcpy(ssdt, ssdt_laptop_slate, sizeof(ssdt_laptop_slate)); table_ptrs[nr_tables++] = ctxt->mem_ops.v2p(ctxt, ssdt); - } else { - printf("CONV disabled\n"); } /* TPM TCPA and SSDT. */