Module Name:    src
Committed By:   christos
Date:           Tue Jan 21 19:50:40 UTC 2014

Modified Files:
        src/sys/arch/acorn32/podulebus: csc.c esc.c sfas.c

Log Message:
fix unused variables


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/acorn32/podulebus/csc.c
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/acorn32/podulebus/esc.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/acorn32/podulebus/sfas.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/acorn32/podulebus/csc.c
diff -u src/sys/arch/acorn32/podulebus/csc.c:1.18 src/sys/arch/acorn32/podulebus/csc.c:1.19
--- src/sys/arch/acorn32/podulebus/csc.c:1.18	Sat Oct 27 13:17:23 2012
+++ src/sys/arch/acorn32/podulebus/csc.c	Tue Jan 21 14:50:40 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: csc.c,v 1.18 2012/10/27 17:17:23 chs Exp $	*/
+/*	$NetBSD: csc.c,v 1.19 2014/01/21 19:50:40 christos Exp $	*/
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: csc.c,v 1.18 2012/10/27 17:17:23 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: csc.c,v 1.19 2014/01/21 19:50:40 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -289,9 +289,6 @@ void
 csc_led(void *v, int mode)
 {
 	struct sfas_softc *sc = v;
-	csc_regmap_p		rp;
-
-	rp = (csc_regmap_p)sc->sc_fas;
 
 	if (mode) {
 		sc->sc_led_status++;

Index: src/sys/arch/acorn32/podulebus/esc.c
diff -u src/sys/arch/acorn32/podulebus/esc.c:1.25 src/sys/arch/acorn32/podulebus/esc.c:1.26
--- src/sys/arch/acorn32/podulebus/esc.c:1.25	Sat Oct 27 13:17:23 2012
+++ src/sys/arch/acorn32/podulebus/esc.c	Tue Jan 21 14:50:40 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: esc.c,v 1.25 2012/10/27 17:17:23 chs Exp $	*/
+/*	$NetBSD: esc.c,v 1.26 2014/01/21 19:50:40 christos Exp $	*/
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -86,7 +86,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: esc.c,v 1.25 2012/10/27 17:17:23 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: esc.c,v 1.26 2014/01/21 19:50:40 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1618,11 +1618,9 @@ escintr(struct esc_softc *dev)
 void
 escicmd(struct esc_softc *dev, struct esc_pending *pendp)
 {
-	esc_regmap_p	 rp;
 	struct nexus	*nexus;
 
 	nexus = &dev->sc_nexus[pendp->xs->xs_periph->periph_target];
-	rp = dev->sc_esc;
 
 	if (!escselect(dev, pendp, (char *)pendp->xs->cmd, pendp->xs->cmdlen,
 			(char *)pendp->xs->data, pendp->xs->datalen,

Index: src/sys/arch/acorn32/podulebus/sfas.c
diff -u src/sys/arch/acorn32/podulebus/sfas.c:1.22 src/sys/arch/acorn32/podulebus/sfas.c:1.23
--- src/sys/arch/acorn32/podulebus/sfas.c:1.22	Sat Oct 27 13:17:24 2012
+++ src/sys/arch/acorn32/podulebus/sfas.c	Tue Jan 21 14:50:40 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: sfas.c,v 1.22 2012/10/27 17:17:24 chs Exp $	*/
+/*	$NetBSD: sfas.c,v 1.23 2014/01/21 19:50:40 christos Exp $	*/
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -82,7 +82,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sfas.c,v 1.22 2012/10/27 17:17:24 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sfas.c,v 1.23 2014/01/21 19:50:40 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1538,11 +1538,9 @@ sfasintr(struct sfas_softc *dev)
 void
 sfasicmd(struct sfas_softc *dev, struct sfas_pending *pendp)
 {
-	sfas_regmap_p	 rp;
 	struct nexus	*nexus;
 
 	nexus = &dev->sc_nexus[pendp->xs->xs_periph->periph_target];
-	rp = dev->sc_fas;
 
 	if (!sfasselect(dev, pendp, (char *)pendp->xs->cmd, pendp->xs->cmdlen,
 			(char *)pendp->xs->data, pendp->xs->datalen,

Reply via email to