From: kn Date: Thu, 27 Apr 2023 10:51:27 +0000 (+0000) Subject: zap APM_CANCEL, dead since import; OK tb X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6753c042c48abc51ce9e77a1b06a3924e6903df5;p=openbsd zap APM_CANCEL, dead since import; OK tb --- 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: