summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2018-05-30 11:58:05 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2018-05-30 11:58:05 +0000
commitceb82592c8910f979d7cb16c060d3d11fc18e33a (patch)
tree506f6cab1739066ac4779ee6144c1bf583665e4f /sys
parentabdd8e89dbaf322e3eae2b3147a098c0ba2827a5 (diff)
Remove comcnspeed variable, which gets set but is never actually used.
This removes the (no-op) -1 and -9 kernel boot arguments. ok visa@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/arm64/machdep.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/arch/arm64/arm64/machdep.c b/sys/arch/arm64/arm64/machdep.c
index 1d59a037114..7b50b89d493 100644
--- a/sys/arch/arm64/arm64/machdep.c
+++ b/sys/arch/arm64/arm64/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.34 2018/05/28 19:39:15 kettenis Exp $ */
+/* $OpenBSD: machdep.c,v 1.35 2018/05/30 11:58:04 kettenis Exp $ */
/*
* Copyright (c) 2014 Patrick Wildt <patrick@blueri.se>
*
@@ -1135,7 +1135,6 @@ remap_efi_runtime(EFI_PHYSICAL_ADDRESS system_table)
printf("SetVirtualAddressMap failed: %lu\n", status);
}
-int comcnspeed = B115200;
char bootargs[256];
void
@@ -1195,12 +1194,6 @@ process_kernel_args(void)
case 's':
fl |= RB_SINGLE;
break;
- case '1':
- comcnspeed = B115200;
- break;
- case '9':
- comcnspeed = B9600;
- break;
default:
printf("unknown option `%c'\n", *cp);
break;