Module Name:    src
Committed By:   riastradh
Date:           Wed Aug 24 11:47:52 UTC 2022

Modified Files:
        src/sys/sys: device_impl.h

Log Message:
pmf(9): Nix unused pmf prototypes.

Maybe they were once meant to be implemented, but whatever plan that
was must've gang agley a long time ago.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/sys/device_impl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/device_impl.h
diff -u src/sys/sys/device_impl.h:1.3 src/sys/sys/device_impl.h:1.4
--- src/sys/sys/device_impl.h:1.3	Wed Aug 24 11:19:25 2022
+++ src/sys/sys/device_impl.h	Wed Aug 24 11:47:52 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: device_impl.h,v 1.3 2022/08/24 11:19:25 riastradh Exp $	*/
+/*	$NetBSD: device_impl.h,v 1.4 2022/08/24 11:47:52 riastradh Exp $	*/
 
 /*
  * Copyright (c) 2022 The NetBSD Foundation, Inc.
@@ -191,7 +191,6 @@ struct device {
 #define	DVF_ATTACH_INPROGRESS	0x0040	/* device attach is in progress */
 
 bool		device_pmf_is_registered(device_t);
-bool		device_pmf_is_registered(device_t);
 
 bool		device_pmf_driver_suspend(device_t, const pmf_qual_t *);
 bool		device_pmf_driver_resume(device_t, const pmf_qual_t *);
@@ -207,11 +206,6 @@ device_lock_t	device_getlock(device_t);
 void		device_pmf_unlock(device_t);
 bool		device_pmf_lock(device_t);
 
-bool		device_is_self_suspended(device_t);
-void		device_pmf_self_suspend(device_t, const pmf_qual_t *);
-void		device_pmf_self_resume(device_t, const pmf_qual_t *);
-bool		device_pmf_self_wait(device_t, const pmf_qual_t *);
-
 void		*device_pmf_class_private(device_t);
 bool		device_pmf_class_suspend(device_t, const pmf_qual_t *);
 bool		device_pmf_class_resume(device_t, const pmf_qual_t *);

Reply via email to