From eccaa8f559c07980a4fa9511b328dd1bfca3dac4 Mon Sep 17 00:00:00 2001 From: aoyama Date: Fri, 23 Sep 2022 02:35:46 +0000 Subject: [PATCH] Delete unused variables originally come from mvme88k. --- sys/arch/luna88k/include/autoconf.h | 6 +----- sys/arch/luna88k/luna88k/autoconf.c | 8 ++------ 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/sys/arch/luna88k/include/autoconf.h b/sys/arch/luna88k/include/autoconf.h index 7458087c182..b6a260e0b1d 100644 --- a/sys/arch/luna88k/include/autoconf.h +++ b/sys/arch/luna88k/include/autoconf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.h,v 1.7 2017/11/03 06:55:08 aoyama Exp $ */ +/* $OpenBSD: autoconf.h,v 1.8 2022/09/23 02:35:46 aoyama Exp $ */ /* * Copyright (c) 1999, Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -37,10 +37,6 @@ #ifndef _MACHINE_AUTOCONF_H_ #define _MACHINE_AUTOCONF_H_ -/* the following are from the prom/bootblocks */ -extern void *bootaddr; /* PA of boot device */ -extern int bootpart; /* boot partition (disk) */ - struct mainbus_attach_args { const char *ma_name; paddr_t ma_addr; diff --git a/sys/arch/luna88k/luna88k/autoconf.c b/sys/arch/luna88k/luna88k/autoconf.c index dc589585ce5..6c2e0a6bc83 100644 --- a/sys/arch/luna88k/luna88k/autoconf.c +++ b/sys/arch/luna88k/luna88k/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.26 2022/09/02 20:06:56 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.27 2022/09/23 02:35:46 aoyama Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -61,10 +61,7 @@ void dumpconf(void); void get_autoboot_device(void); -int cold = 1; /* 1 if still booting */ - -void *bootaddr; -int bootpart; +int cold = 1; /* 1 if still booting */ struct device *bootdv; /* set by device drivers (if found) */ /* @@ -169,7 +166,6 @@ device_register(struct device *dev, void *aux) sa->sa_sc_link->target == autoboot.targ && sa->sa_sc_link->lun == 0) { bootdv = dev; - bootpart = autoboot.part; return; } } -- 2.20.1