Module Name:    src
Committed By:   skrll
Date:           Sun Nov 17 08:32:55 UTC 2013

Modified Files:
        src/sys/arch/arm/footbridge: footbridge_com.c
        src/sys/arch/arm/footbridge/isa: isa_machdep.c

Log Message:
Remove unused variables.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm/footbridge/footbridge_com.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/arm/footbridge/isa/isa_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/footbridge/footbridge_com.c
diff -u src/sys/arch/arm/footbridge/footbridge_com.c:1.35 src/sys/arch/arm/footbridge/footbridge_com.c:1.36
--- src/sys/arch/arm/footbridge/footbridge_com.c:1.35	Wed Oct 10 21:53:09 2012
+++ src/sys/arch/arm/footbridge/footbridge_com.c	Sun Nov 17 08:32:55 2013
@@ -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
 		/*

Index: src/sys/arch/arm/footbridge/isa/isa_machdep.c
diff -u src/sys/arch/arm/footbridge/isa/isa_machdep.c:1.19 src/sys/arch/arm/footbridge/isa/isa_machdep.c:1.20
--- src/sys/arch/arm/footbridge/isa/isa_machdep.c:1.19	Sat Oct 27 17:17:37 2012
+++ src/sys/arch/arm/footbridge/isa/isa_machdep.c	Sun Nov 17 08:32:55 2013
@@ -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 
 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);
 	
 }

Reply via email to