git: 04afa8cc370e - main - loader: md: Use default func for fmtdev and parsedev
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Jan 2023 18:06:53 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=04afa8cc370e6bb7302b6fe09c8d27a606fe414e
commit 04afa8cc370e6bb7302b6fe09c8d27a606fe414e
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-01-27 06:34:02 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-01-27 18:06:25 +0000
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 a3243beb17dd..61db56ece7ae 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