Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/acpi don't print resources twice. It is automagicall...



details:   https://anonhg.NetBSD.org/src/rev/ede9f057f135
branches:  trunk
changeset: 448340:ede9f057f135
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Jan 30 20:20:36 2019 +0000

description:
don't print resources twice. It is automagically done in acpi_res_parse_fini.

diffstat:

 sys/dev/acpi/ipmi_acpi.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r b8c3d7b26e73 -r ede9f057f135 sys/dev/acpi/ipmi_acpi.c
--- a/sys/dev/acpi/ipmi_acpi.c  Wed Jan 30 19:57:48 2019 +0000
+++ b/sys/dev/acpi/ipmi_acpi.c  Wed Jan 30 20:20:36 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ipmi_acpi.c,v 1.2 2018/12/26 06:45:58 mlelstv Exp $ */
+/* $NetBSD: ipmi_acpi.c,v 1.3 2019/01/30 20:20:36 christos Exp $ */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipmi_acpi.c,v 1.2 2018/12/26 06:45:58 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipmi_acpi.c,v 1.3 2019/01/30 20:20:36 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -122,8 +122,6 @@
                        return;
                }
 
-               acpi_resource_print(self, &res);
-
                io = acpi_res_io(&res, 0);
                mem = acpi_res_mem(&res, 0);
                if (io == NULL && mem == NULL) {



Home | Main Index | Thread Index | Old Index