summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2023-04-27 10:51:28 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2023-04-27 10:51:28 +0000
commit08feff31f57e1dde166fd54cd7650bdae555e301 (patch)
tree479bb38a47d086b76a0038447d4ac80566a8da4d
parentdabd56541fc2622152350259529f31ffd9c3391e (diff)
zap APM_CANCEL, dead since import; OK tb
-rw-r--r--usr.sbin/apmd/apmd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/apmd/apmd.c b/usr.sbin/apmd/apmd.c
index a41a1632485..f29d5c9a081 100644
--- a/usr.sbin/apmd/apmd.c
+++ b/usr.sbin/apmd/apmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apmd.c,v 1.111 2023/03/08 04:43:13 guenther Exp $ */
+/* $OpenBSD: apmd.c,v 1.112 2023/04/27 10:51:27 kn Exp $ */
/*
* Copyright (c) 1995, 1996 John T. Kohl
@@ -584,11 +584,6 @@ main(int argc, char *argv[])
case APM_USER_HIBERNATE_REQ:
hibernates++;
break;
-#if 0
- case APM_CANCEL:
- suspends = standbys = 0;
- break;
-#endif
case APM_NORMAL_RESUME:
case APM_CRIT_RESUME:
case APM_SYS_STANDBY_RESUME: