Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys pmf(9): Nix unused pmf prototypes.



details:   https://anonhg.NetBSD.org/src/rev/db6a7acd0f18
branches:  trunk
changeset: 369623:db6a7acd0f18
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Aug 24 11:47:52 2022 +0000

description:
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.

diffstat:

 sys/sys/device_impl.h |  8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diffs (29 lines):

diff -r 4047b38393d9 -r db6a7acd0f18 sys/sys/device_impl.h
--- a/sys/sys/device_impl.h     Wed Aug 24 11:41:39 2022 +0000
+++ b/sys/sys/device_impl.h     Wed Aug 24 11:47:52 2022 +0000
@@ -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 @@
 #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 @@
 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 *);



Home | Main Index | Thread Index | Old Index