mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +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
@@ -101,13 +101,3 @@ check_sector_size_database(char *path, int *sector_size)
|
||||
{
|
||||
return (0);
|
||||
}
|
||||
|
||||
void
|
||||
zpool_vdev_enable_file(struct stat64 *statbuf, boolean_t *wholedisk)
|
||||
{
|
||||
if (S_ISCHR(statbuf->st_mode)) {
|
||||
statbuf->st_mode &= ~S_IFCHR;
|
||||
statbuf->st_mode |= S_IFBLK;
|
||||
*wholedisk = B_FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user