Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Remove unused variable
details: https://anonhg.NetBSD.org/src/rev/a2af9e5d5e24
branches: trunk
changeset: 789917:a2af9e5d5e24
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 12 20:40:46 2013 +0000
description:
Remove unused variable
diffstat:
sys/dev/ic/i82557.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 73e8ec3bed9f -r a2af9e5d5e24 sys/dev/ic/i82557.c
--- a/sys/dev/ic/i82557.c Thu Sep 12 20:30:58 2013 +0000
+++ b/sys/dev/ic/i82557.c Thu Sep 12 20:40:46 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i82557.c,v 1.140 2012/07/22 14:32:57 matt Exp $ */
+/* $NetBSD: i82557.c,v 1.141 2013/09/12 20:40:46 martin Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999, 2001, 2002 The NetBSD Foundation, Inc.
@@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i82557.c,v 1.140 2012/07/22 14:32:57 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i82557.c,v 1.141 2013/09/12 20:40:46 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1217,11 +1217,9 @@
csum_data = 0;
if ((sc->sc_flags & FXPF_EXT_RFA) != 0) {
- uint8_t rxparsestat;
uint8_t csum_stat;
csum_stat = rfa->cksum_stat;
- rxparsestat = rfa->rx_parse_stat;
if ((rfa->rfa_status & htole16(FXP_RFA_STATUS_PARSE)) == 0)
goto out;
Home |
Main Index |
Thread Index |
Old Index