Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Remove unused variables
details: https://anonhg.NetBSD.org/src/rev/448c0ca48658
branches: trunk
changeset: 789937:448c0ca48658
user: martin <martin%NetBSD.org@localhost>
date: Fri Sep 13 20:56:17 2013 +0000
description:
Remove unused variables
diffstat:
sys/dev/pci/if_cas.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (30 lines):
diff -r d0f7d82a3f4f -r 448c0ca48658 sys/dev/pci/if_cas.c
--- a/sys/dev/pci/if_cas.c Fri Sep 13 20:54:14 2013 +0000
+++ b/sys/dev/pci/if_cas.c Fri Sep 13 20:56:17 2013 +0000
@@ -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 @@
int
cas_meminit(struct cas_softc *sc)
{
- struct cas_rxsoft *rxs;
- int i, error;
-
- rxs = (void *)&error;
+ int i;
/*
* Initialize the transmit descriptor ring.
Home |
Main Index |
Thread Index |
Old Index