From 6753c042c48abc51ce9e77a1b06a3924e6903df5 Mon Sep 17 00:00:00 2001 From: kn Date: Thu, 27 Apr 2023 10:51:27 +0000 Subject: [PATCH] zap APM_CANCEL, dead since import; OK tb --- usr.sbin/apmd/apmd.c | 7 +------ 1 file changed, 1 insertion(+), 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: -- 2.20.1