From d366c8fd7a163f17e8984952d8f0aeb550844e8a Mon Sep 17 00:00:00 2001 From: Jorgen Lundman Date: Wed, 17 Jun 2020 03:43:33 +0900 Subject: Make struct vdev_disk_t be platform private Linux defines different vdev_disk_t members to macOS, but they are only used in vdev_disk.c so move the declaration there. Reviewed-by: Ryan Moeller Reviewed-by: Brian Behlendorf Signed-off-by: Jorgen Lundman Closes #10452 --- include/sys/vdev_disk.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/sys/vdev_disk.h') diff --git a/include/sys/vdev_disk.h b/include/sys/vdev_disk.h index 908f5f326..a7e19fbf0 100644 --- a/include/sys/vdev_disk.h +++ b/include/sys/vdev_disk.h @@ -42,13 +42,5 @@ #ifdef _KERNEL #include - -typedef struct vdev_disk { - ddi_devid_t vd_devid; - char *vd_minor; - struct block_device *vd_bdev; - krwlock_t vd_lock; -} vdev_disk_t; - #endif /* _KERNEL */ #endif /* _SYS_VDEV_DISK_H */ -- cgit v1.2.3