Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Comment out unused variable
details: https://anonhg.NetBSD.org/src/rev/edad686c6bfd
branches: trunk
changeset: 790052:edad686c6bfd
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 15 14:58:32 2013 +0000
description:
Comment out unused variable
diffstat:
sys/dev/ic/tulip.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r b273d5490a07 -r edad686c6bfd sys/dev/ic/tulip.c
--- a/sys/dev/ic/tulip.c Sun Sep 15 14:53:03 2013 +0000
+++ b/sys/dev/ic/tulip.c Sun Sep 15 14:58:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tulip.c,v 1.182 2013/09/14 13:09:55 joerg Exp $ */
+/* $NetBSD: tulip.c,v 1.183 2013/09/15 14:58:32 martin Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tulip.c,v 1.182 2013/09/14 13:09:55 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tulip.c,v 1.183 2013/09/15 14:58:32 martin Exp $");
#include <sys/param.h>
@@ -5747,12 +5747,13 @@
tlp_pnic_nway_auto_timeout(void *arg)
{
struct tulip_softc *sc = arg;
- uint32_t reg;
+ /* uint32_t reg; */
int s;
s = splnet();
sc->sc_flags &= ~TULIPF_DOINGAUTO;
- reg = TULIP_READ(sc, CSR_PNIC_NWAY);
+ /* reg = */
+ TULIP_READ(sc, CSR_PNIC_NWAY);
#if 0
if ((reg & PNIC_NWAY_LPAR_MASK) == 0)
aprint_error_dev(sc->sc_dev, "autonegotiation failed to complete\n");
Home |
Main Index |
Thread Index |
Old Index