aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zpool/os/freebsd
diff options
context:
space:
mode:
authorArvind Sankar <[email protected]>2020-06-15 14:26:43 -0400
committerBrian Behlendorf <[email protected]>2020-06-18 12:21:18 -0700
commitc3fe42aabd9f8879500437e2be2968b47e8b6797 (patch)
treef2a66702cabdeba3772e36bcfb0a43ef41404e79 /cmd/zpool/os/freebsd
parent65c7cc49bfcf49d38fc84552a17d7e8a3268e58e (diff)
Remove dead code
Delete unused functions. Reviewed-by: Ryan Moeller <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Arvind Sankar <[email protected]> Closes #10470
Diffstat (limited to 'cmd/zpool/os/freebsd')
-rw-r--r--cmd/zpool/os/freebsd/zpool_vdev_os.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/cmd/zpool/os/freebsd/zpool_vdev_os.c b/cmd/zpool/os/freebsd/zpool_vdev_os.c
index 4a8d9272d..7d48f61a0 100644
--- a/cmd/zpool/os/freebsd/zpool_vdev_os.c
+++ b/cmd/zpool/os/freebsd/zpool_vdev_os.c
@@ -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;
- }
-}