summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-08 02:51:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-08 02:51:56 +0000
commita71419aa3b17db755c62ad81fbd73807454cc57b (patch)
tree50ddda5623d5d987743bbad31e8f4308264dc311 /sys
parent84b5006302653fa71fa409875dcb97d7a08d9945 (diff)
unused defines
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/acpi/amltypes.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/acpi/amltypes.h b/sys/dev/acpi/amltypes.h
index f1cf8db3d28..6ac4bbc203e 100644
--- a/sys/dev/acpi/amltypes.h
+++ b/sys/dev/acpi/amltypes.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: amltypes.h,v 1.29 2008/06/01 17:59:55 marco Exp $ */
+/* $OpenBSD: amltypes.h,v 1.30 2008/06/08 02:51:55 deraadt Exp $ */
/*
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
*
@@ -183,7 +183,7 @@ enum aml_objecttype {
AML_OBJTYPE_OBJREF,
AML_OBJTYPE_SCOPE,
AML_OBJTYPE_NOTARGET,
- AML_OBJTYPE_STATICINT=AML_OBJTYPE_INTEGER|AML_STATIC,
+ AML_OBJTYPE_STATICINT = AML_OBJTYPE_INTEGER|AML_STATIC,
};
/* AML Opcode Arguments */
@@ -252,8 +252,7 @@ enum aml_objecttype {
struct aml_scope;
struct aml_node;
-struct aml_waitq
-{
+struct aml_waitq {
struct aml_scope *scope;
SIMPLEQ_ENTRY(aml_waitq) link;
};
@@ -367,9 +366,6 @@ struct aml_node {
int depth;
};
-#define AML_FALSE (0)
-#define AML_TRUE (1)
-
#define aml_bitmask(n) (1L << ((n) & 0x7))
#define aml_bitpos(n) ((n)&0x7)
#define aml_bytepos(n) ((n)>>3)