summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2011-06-15 08:11:52 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2011-06-15 08:11:52 +0000
commitec79616c56cc740bc77b32d8cf0f3e6ad7815d18 (patch)
tree9ce2468563829fb7b51e561a99b6fb6569dcee54 /sys/dev/acpi
parent262635ce076d186ad3f5a6ca4d38c2acaf450dcc (diff)
Silence unneeded conversion warning. Okay jordan@.
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/dsdt.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/acpi/dsdt.c b/sys/dev/acpi/dsdt.c
index 0910cc86673..bfff2633bc2 100644
--- a/sys/dev/acpi/dsdt.c
+++ b/sys/dev/acpi/dsdt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsdt.c,v 1.190 2011/06/08 05:38:28 jordan Exp $ */
+/* $OpenBSD: dsdt.c,v 1.191 2011/06/15 08:11:51 pirofti Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -2385,11 +2385,8 @@ aml_createfield(struct aml_value *field, int opcode,
if (field->type == AML_OBJTYPE_BUFFERFIELD &&
data->type != AML_OBJTYPE_BUFFER)
- {
- printf("WARN: %s not buffer\n",
- aml_nodename(data->node));
data = aml_convert(data, AML_OBJTYPE_BUFFER, -1);
- }
+
field->v_field.type = opcode;
field->v_field.bitpos = bpos;
field->v_field.bitlen = blen;