#if 0 since import, APM_CANCEL does not appear anywhere else.

OK?

Index: apmd.c
===================================================================
RCS file: /cvs/src/usr.sbin/apmd/apmd.c,v
retrieving revision 1.111
diff -u -p -r1.111 apmd.c
--- apmd.c      8 Mar 2023 04:43:13 -0000       1.111
+++ apmd.c      27 Apr 2023 10:43:09 -0000
@@ -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:

Reply via email to