[PATCH] Remove unused *_sysinit_flags() declarations

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Jan 22 07:38:44 UTC 2019


Definitions were removed more than two years ago.
---
 sys/sys/rmlock.h | 1 -
 sys/sys/rwlock.h | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sys/sys/rmlock.h b/sys/sys/rmlock.h
index da5d7274e78..cdcb6edc3b9 100644
--- a/sys/sys/rmlock.h
+++ b/sys/sys/rmlock.h
@@ -54,7 +54,6 @@ void	rm_init_flags(struct rmlock *rm, const char *name, int opts);
 void	rm_destroy(struct rmlock *rm);
 int	rm_wowned(const struct rmlock *rm);
 void	rm_sysinit(void *arg);
-void	rm_sysinit_flags(void *arg);
 
 void	_rm_wlock_debug(struct rmlock *rm, const char *file, int line);
 void	_rm_wunlock_debug(struct rmlock *rm, const char *file, int line);
diff --git a/sys/sys/rwlock.h b/sys/sys/rwlock.h
index 43bbc68cf13..58d5881eb76 100644
--- a/sys/sys/rwlock.h
+++ b/sys/sys/rwlock.h
@@ -130,7 +130,6 @@
 void	_rw_init_flags(volatile uintptr_t *c, const char *name, int opts);
 void	_rw_destroy(volatile uintptr_t *c);
 void	rw_sysinit(void *arg);
-void	rw_sysinit_flags(void *arg);
 int	_rw_wowned(const volatile uintptr_t *c);
 void	_rw_wlock_cookie(volatile uintptr_t *c, const char *file, int line);
 int	__rw_try_wlock_int(struct rwlock *rw LOCK_FILE_LINE_ARG_DEF);
-- 
2.16.4



More information about the freebsd-hackers mailing list