From 04afa8cc370e6bb7302b6fe09c8d27a606fe414e Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Fri, 27 Jan 2023 07:34:02 +0100 Subject: [PATCH] loader: md: Use default func for fmtdev and parsedev The default function are enough for md so use them instead of the disks ones that doesn't work for it anymore. Reviewed by: imp Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: now Differential Revision: https://reviews.freebsd.org/D38218 --- stand/common/md.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/stand/common/md.c b/stand/common/md.c index a3243beb17d..61db56ece7a 100644 --- a/stand/common/md.c +++ b/stand/common/md.c @@ -75,8 +75,6 @@ struct devsw md_dev = { .dv_ioctl = noioctl, .dv_print = md_print, .dv_cleanup = nullsys, - .dv_fmtdev = disk_fmtdev, - .dv_parsedev = disk_parsedev, }; static int