diff --git a/usr.sbin/sysinst/install.c b/usr.sbin/sysinst/install.c index 113ecc4d110f..7fd45ee6af53 100644 --- a/usr.sbin/sysinst/install.c +++ b/usr.sbin/sysinst/install.c @@ -1,4 +1,4 @@ -/* $NetBSD: install.c,v 1.18 2020/10/12 16:14:32 martin Exp $ */ +/* $NetBSD: install.c,v 1.19 2020/10/14 13:20:27 martin Exp $ */ /* * Copyright 1997 Piermont Information Systems Inc. @@ -155,7 +155,6 @@ do_install(void) int find_disks_ret; int retcode = 0, res; struct install_partition_desc install = {}; - struct disk_partitions *parts; #ifndef NO_PARTMAN partman_go = -1; @@ -216,21 +215,6 @@ do_install(void) if (!ask_noyes(NULL)) goto error; - /* - * Check if we have a secondary partitioning and - * use that if available. The MD code will typically - * have written the outer partitioning in md_pre_disklabel. - */ - parts = pm->parts; - if (!pm->no_part && parts != NULL) { - if (parts->pscheme->secondary_scheme != NULL && - parts->pscheme->secondary_partitions != NULL) { - parts = parts->pscheme->secondary_partitions( - parts, pm->ptstart, false); - if (parts == NULL) - parts = pm->parts; - } - } if ((!pm->no_part && !write_all_parts(&install)) || make_filesystems(&install) || make_fstab(&install) != 0 ||