Remove unused variables.
This commit is contained in:
parent
4b9dad715c
commit
1c7b9e373b
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: footbridge_com.c,v 1.35 2012/10/10 21:53:09 skrll Exp $ */
|
||||
/* $NetBSD: footbridge_com.c,v 1.36 2013/11/17 08:32:55 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 Mark Brinicombe
|
||||
|
@ -36,7 +36,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: footbridge_com.c,v 1.35 2012/10/10 21:53:09 skrll Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: footbridge_com.c,v 1.36 2013/11/17 08:32:55 skrll Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ddbparam.h"
|
||||
|
@ -742,12 +742,12 @@ fcomcngetc(dev_t dev)
|
|||
int s = splserial();
|
||||
bus_space_tag_t iot = fcomconstag;
|
||||
bus_space_handle_t ioh = fcomconsioh;
|
||||
u_char stat, c;
|
||||
u_char c;
|
||||
|
||||
while ((bus_space_read_4(iot, ioh, UART_FLAGS) & UART_RX_FULL) != 0)
|
||||
;
|
||||
c = bus_space_read_4(iot, ioh, UART_DATA);
|
||||
stat = bus_space_read_4(iot, ioh, UART_RX_STAT);
|
||||
(void)bus_space_read_4(iot, ioh, UART_RX_STAT);
|
||||
(void)splx(s);
|
||||
#if defined(DDB) && DDB_KEYCODE > 0
|
||||
/*
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: isa_machdep.c,v 1.19 2012/10/27 17:17:37 chs Exp $ */
|
||||
/* $NetBSD: isa_machdep.c,v 1.20 2013/11/17 08:32:55 skrll Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996-1998 The NetBSD Foundation, Inc.
|
||||
|
@ -65,7 +65,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.19 2012/10/27 17:17:37 chs Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.20 2013/11/17 08:32:55 skrll Exp $");
|
||||
|
||||
#include "opt_irqstats.h"
|
||||
|
||||
|
@ -429,7 +429,6 @@ isa_intr_disestablish(isa_chipset_tag_t ic, void *arg)
|
|||
void
|
||||
isa_intr_init(void)
|
||||
{
|
||||
static void *isa_ih;
|
||||
struct intrq *iq;
|
||||
int i;
|
||||
|
||||
|
@ -452,7 +451,7 @@ isa_intr_init(void)
|
|||
#ifndef ISA_FOOTBRIDGE_IRQ
|
||||
#warning Before using isa with footbridge you must define ISA_FOOTBRIDGE_IRQ
|
||||
#endif
|
||||
isa_ih = footbridge_intr_claim(ISA_FOOTBRIDGE_IRQ, IPL_BIO, "isabus",
|
||||
footbridge_intr_claim(ISA_FOOTBRIDGE_IRQ, IPL_BIO, "isabus",
|
||||
isa_irqdispatch, NULL);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue