summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-02-17 00:47:48 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-02-17 00:47:48 +0000
commit54ce16c02aabe8d4e83a7d15497b4f54cc896503 (patch)
tree83079c30536535c881ccd807d9b1d0b250e4c47f /sys/dev/acpi
parent41adeb5f6496386ee1b1918acfc6e788d5344c44 (diff)
remove unused defines
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpi_x86.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/acpi/acpi_x86.c b/sys/dev/acpi/acpi_x86.c
index bb1c278bf21..efde7ef28e4 100644
--- a/sys/dev/acpi/acpi_x86.c
+++ b/sys/dev/acpi/acpi_x86.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi_x86.c,v 1.11 2022/02/17 00:11:21 jsg Exp $ */
+/* $OpenBSD: acpi_x86.c,v 1.12 2022/02/17 00:47:47 jsg Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -26,10 +26,6 @@
#include <dev/acpi/dsdt.h>
#include <machine/apmvar.h>
-#define APMUNIT(dev) (minor(dev)&0xf0)
-#define APMDEV(dev) (minor(dev)&0x0f)
-#define APMDEV_NORMAL 0
-#define APMDEV_CTL 8
int
sleep_showstate(void *v, int sleepmode)