summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/stand
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2023-01-06 19:05:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2023-01-06 19:05:47 +0000
commit38af2979c8de66350606d7d6df4be8a4231809c8 (patch)
tree17c15a510774a352b3d12a4299fd9d22f322b973 /sys/arch/hppa/stand
parentd4d8ed859db7df57a7a7ce2874644b1559c1a509 (diff)
Remove unused local variables as well as the dependency on <machine/nvm.h>.
Diffstat (limited to 'sys/arch/hppa/stand')
-rw-r--r--sys/arch/hppa/stand/libsa/pdc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/arch/hppa/stand/libsa/pdc.c b/sys/arch/hppa/stand/libsa/pdc.c
index 668b4a1e6f0..f92c07506da 100644
--- a/sys/arch/hppa/stand/libsa/pdc.c
+++ b/sys/arch/hppa/stand/libsa/pdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.c,v 1.23 2020/12/09 18:10:18 krw Exp $ */
+/* $OpenBSD: pdc.c,v 1.24 2023/01/06 19:05:46 miod Exp $ */
/*
* Copyright (c) 1998-2004 Michael Shalayeff
@@ -68,7 +68,6 @@
#include <machine/trap.h>
#include <machine/pdc.h>
#include <machine/iomod.h>
-#include <machine/nvm.h>
#include <machine/cpufunc.h>
#include "dev_hppa.h"
@@ -81,8 +80,6 @@ pdcio_t pdc;
int pdcbuf[64] PDC_ALIGNMENT;/* PDC return buffer */
struct stable_storage sstor; /* contents of Stable Storage */
int sstorsiz; /* size of Stable Storage */
-struct bootdata bd;
-int bdsize = sizeof(struct bootdata);
/*
* Initialize PDC and related variables.