diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2011-06-15 08:11:52 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2011-06-15 08:11:52 +0000 |
commit | ec79616c56cc740bc77b32d8cf0f3e6ad7815d18 (patch) | |
tree | 9ce2468563829fb7b51e561a99b6fb6569dcee54 /sys/dev/acpi/dsdt.c | |
parent | 262635ce076d186ad3f5a6ca4d38c2acaf450dcc (diff) |
Silence unneeded conversion warning. Okay jordan@.
Diffstat (limited to 'sys/dev/acpi/dsdt.c')
-rw-r--r-- | sys/dev/acpi/dsdt.c | 7 |
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; |