summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-07-12 14:40:15 -0700
committerTony Hutter <[email protected]>2019-09-25 11:27:49 -0700
commit428a63cc62c31056b602e80ec072d8093ca049c8 (patch)
treec30324885abef227153938b122feba968a868c19 /include
parent3982d959c5b8577993740c03392c4efa750c0479 (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')
-rw-r--r--include/spl/sys/mutex.h3
-rw-r--r--include/spl/sys/rwlock.h4
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 */