mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
Remove dead code
Delete unused functions. Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Arvind Sankar <nivedita@alum.mit.edu> Closes #10470
This commit is contained in:
committed by
Brian Behlendorf
parent
65c7cc49bf
commit
c3fe42aabd
@@ -287,22 +287,6 @@ kstat_delete(kstat_t *ksp)
|
||||
free(ksp, M_KSTAT);
|
||||
}
|
||||
|
||||
void
|
||||
kstat_set_string(char *dst, const char *src)
|
||||
{
|
||||
|
||||
bzero(dst, KSTAT_STRLEN);
|
||||
(void) strncpy(dst, src, KSTAT_STRLEN - 1);
|
||||
}
|
||||
|
||||
void
|
||||
kstat_named_init(kstat_named_t *knp, const char *name, uchar_t data_type)
|
||||
{
|
||||
|
||||
kstat_set_string(knp->name, name);
|
||||
knp->data_type = data_type;
|
||||
}
|
||||
|
||||
void
|
||||
kstat_waitq_enter(kstat_io_t *kiop)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user