From 13838d3280389d1039da4c1a6d9303650e982258 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Sat, 25 Oct 1997 07:01:37 +0000 Subject: Remove no-serving variable --- sys/arch/i386/i386/bios.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/i386/i386/bios.c b/sys/arch/i386/i386/bios.c index 99292a48556..6a45cbaaf45 100644 --- a/sys/arch/i386/i386/bios.c +++ b/sys/arch/i386/i386/bios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bios.c,v 1.15 1997/10/25 03:01:30 deraadt Exp $ */ +/* $OpenBSD: bios.c,v 1.16 1997/10/25 07:01:36 niklas Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -121,7 +121,7 @@ biosattach(parent, self, aux) #endif u_int8_t *va = ISA_HOLE_VADDR(0xffff0); char *str; - bootarg_t *p, *q; + bootarg_t *q; switch (va[14]) { default: @@ -139,7 +139,7 @@ biosattach(parent, self, aux) printf("%s:", sc->sc_dev.dv_xname); - for(q = p = bootargp; q->ba_type != BOOTARG_END; q = q->ba_next) { + for(q = bootargp; q->ba_type != BOOTARG_END; q = q->ba_next) { q->ba_next = (bootarg_t *)((caddr_t)q + q->ba_size); switch (q->ba_type) { case BOOTARG_MEMMAP: -- cgit v1.2.3