Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ofw remove an unused variable.
details: https://anonhg.NetBSD.org/src/rev/4a36717c44d3
branches: trunk
changeset: 756964:4a36717c44d3
user: chs <chs%NetBSD.org@localhost>
date: Sun Aug 08 18:22:39 2010 +0000
description:
remove an unused variable.
diffstat:
sys/dev/ofw/ofnet.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 036e68437caf -r 4a36717c44d3 sys/dev/ofw/ofnet.c
--- a/sys/dev/ofw/ofnet.c Sun Aug 08 18:21:50 2010 +0000
+++ b/sys/dev/ofw/ofnet.c Sun Aug 08 18:22:39 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofnet.c,v 1.50 2010/04/05 07:20:24 joerg Exp $ */
+/* $NetBSD: ofnet.c,v 1.51 2010/08/08 18:22:39 chs Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofnet.c,v 1.50 2010/04/05 07:20:24 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofnet.c,v 1.51 2010/08/08 18:22:39 chs Exp $");
#include "ofnet.h"
#include "opt_inet.h"
@@ -418,8 +418,6 @@
static void
ipkdbofstart(struct ipkdb_if *kip)
{
- int unit = kip->unit - 1;
-
if (ipkdb_of)
ipkdbattach(kip, &ipkdb_of->sc_ethercom);
}
Home |
Main Index |
Thread Index |
Old Index