aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zpool/os/freebsd/zpool_vdev_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zpool/os/freebsd/zpool_vdev_os.c')
-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;
- }
-}