Module Name:    src
Committed By:   martin
Date:           Fri Sep 13 20:56:17 UTC 2013

Modified Files:
        src/sys/dev/pci: if_cas.c

Log Message:
Remove unused variables


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/pci/if_cas.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/dev/pci/if_cas.c
diff -u src/sys/dev/pci/if_cas.c:1.19 src/sys/dev/pci/if_cas.c:1.20
--- src/sys/dev/pci/if_cas.c:1.19	Sat Mar 30 03:21:04 2013
+++ src/sys/dev/pci/if_cas.c	Fri Sep 13 20:56:17 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_cas.c,v 1.19 2013/03/30 03:21:04 christos Exp $	*/
+/*	$NetBSD: if_cas.c,v 1.20 2013/09/13 20:56:17 martin Exp $	*/
 /*	$OpenBSD: if_cas.c,v 1.29 2009/11/29 16:19:38 kettenis Exp $	*/
 
 /*
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cas.c,v 1.19 2013/03/30 03:21:04 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cas.c,v 1.20 2013/09/13 20:56:17 martin Exp $");
 
 #ifndef _MODULE
 #include "opt_inet.h"
@@ -963,10 +963,7 @@ cas_disable_tx(struct cas_softc *sc)
 int
 cas_meminit(struct cas_softc *sc)
 {
-	struct cas_rxsoft *rxs;
-	int i, error;
-
-	rxs = (void *)&error;
+	int i;
 
 	/*
 	 * Initialize the transmit descriptor ring.

Reply via email to