summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2019-07-12 03:09:24 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2019-07-12 03:09:24 +0000
commit0cdda11afb8c8723f3f7f9a46617e56310362333 (patch)
tree3123b2fc8278ce9b58fc468296257476196c29c6 /sys/arch/octeon
parente9450f8c4721ed7ca60d6940a8dc7f54f1e8deb6 (diff)
Remove unnecessary extern declarations.
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r--sys/arch/octeon/octeon/machdep.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/octeon/octeon/machdep.c b/sys/arch/octeon/octeon/machdep.c
index 1db12f8ed8f..2adb012c0c5 100644
--- a/sys/arch/octeon/octeon/machdep.c
+++ b/sys/arch/octeon/octeon/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.113 2019/07/12 03:03:48 visa Exp $ */
+/* $OpenBSD: machdep.c,v 1.114 2019/07/12 03:09:23 visa Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
@@ -602,7 +602,6 @@ cpu_startup()
int
octeon_cpuspeed(int *freq)
{
- extern struct boot_info *octeon_boot_info;
*freq = octeon_boot_info->eclock / 1000000;
return (0);
}
@@ -610,7 +609,6 @@ octeon_cpuspeed(int *freq)
int
octeon_ioclock_speed(void)
{
- extern struct boot_info *octeon_boot_info;
u_int64_t mio_rst_boot, rst_boot;
switch (octeon_ver) {
@@ -701,7 +699,6 @@ get_ncpusfound(void)
static void
process_bootargs(void)
{
- extern struct boot_desc *octeon_boot_desc;
const char *cp;
int i;