mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
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 <hutter2@llnl.gov> Reviewed-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #9029
This commit is contained in:
committed by
Tony Hutter
parent
3982d959c5
commit
428a63cc62
@@ -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 */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user