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
This commit is contained in:
Emmanuel Vadot 2023-01-27 07:34:02 +01:00
parent 79111aa26f
commit 04afa8cc37

View file

@ -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