diff options
author | Brian Behlendorf <[email protected]> | 2019-07-12 14:40:15 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-07-17 15:13:53 -0700 |
commit | d64dd3b62a5411e628ce59b11fe50ba848d12ffc (patch) | |
tree | 97c37ab6dcbb8f2cabc8e86f378759909f66b999 /include/spl/sys | |
parent | e7a99dab2b065ac2f8736a65d1b226d21754d771 (diff) |
Retire unused spl_{mutex,rwlock}_{init_fini}
These functions are unused and can be removed along
with the spl-mutex.c and spl-rwlock.c source files.
Reviewed-by: Tony Hutter <[email protected]>
Reviewed-by: Tomohiro Kusumi <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #9029
Diffstat (limited to 'include/spl/sys')
-rw-r--r-- | include/spl/sys/mutex.h | 3 | ||||
-rw-r--r-- | include/spl/sys/rwlock.h | 4 |
2 files changed, 0 insertions, 7 deletions
diff --git a/include/spl/sys/mutex.h b/include/spl/sys/mutex.h index a61f35c61..73da23685 100644 --- a/include/spl/sys/mutex.h +++ b/include/spl/sys/mutex.h @@ -181,7 +181,4 @@ spl_mutex_lockdep_on_maybe(kmutex_t *mp) \ /* NOTE: do not dereference mp after this point */ \ } -int spl_mutex_init(void); -void spl_mutex_fini(void); - #endif /* _SPL_MUTEX_H */ diff --git a/include/spl/sys/rwlock.h b/include/spl/sys/rwlock.h index 89e02fa8f..60f5bfd98 100644 --- a/include/spl/sys/rwlock.h +++ b/include/spl/sys/rwlock.h @@ -196,10 +196,6 @@ RW_READ_HELD(krwlock_t *rwp) downgrade_write(SEM(rwp)); \ spl_rw_lockdep_on_maybe(rwp); \ }) - /* END CSTYLED */ -int spl_rw_init(void); -void spl_rw_fini(void); - #endif /* _SPL_RWLOCK_H */ |