diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-12-12 22:54:36 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2021-12-12 22:54:36 +0000 |
commit | ecf09021cd005f9000f12d7dbd7858695bd7388f (patch) | |
tree | 70e25f38d24a98fdd02af5b6819b81190a01ca20 /sys/arch | |
parent | 711369cfee5d05d80b9b3b4f4591c600b526ac86 (diff) |
remove unused variable to fix build with llvm 13
ok jca@ naddy@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/armv7/stand/efiboot/efiboot.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/arch/armv7/stand/efiboot/efiboot.c b/sys/arch/armv7/stand/efiboot/efiboot.c index 70e6bbbc13d..5d7b12124e9 100644 --- a/sys/arch/armv7/stand/efiboot/efiboot.c +++ b/sys/arch/armv7/stand/efiboot/efiboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efiboot.c,v 1.37 2021/10/26 14:10:02 patrick Exp $ */ +/* $OpenBSD: efiboot.c,v 1.38 2021/12/12 22:54:35 jsg Exp $ */ /* * Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net> @@ -697,7 +697,6 @@ devboot(dev_t dev, char *p) { struct diskinfo *dip; int sd_boot_vol = 0; - int part_type = FS_UNUSED; if (bootdev_dip == NULL) { strlcpy(p, "tftp0a", 7); @@ -710,13 +709,6 @@ devboot(dev_t dev, char *p) sd_boot_vol++; } - /* - * Determine the partition type for the 'a' partition of the - * boot device. - */ - if ((bootdev_dip->flags & DISKINFO_FLAG_GOODLABEL) != 0) - part_type = bootdev_dip->disklabel.d_partitions[0].p_fstype; - strlcpy(p, "sd0a", 5); p[2] = '0' + sd_boot_vol; } |