git: 86957b873f99 - stable/13 - 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:07:27 UTC
The branch stable/13 has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=86957b873f9995ae9d65c89cab6287e33ce08bb7 commit 86957b873f9995ae9d65c89cab6287e33ce08bb7 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:07:13 +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 (cherry picked from commit 04afa8cc370e6bb7302b6fe09c8d27a606fe414e) --- 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