Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ews4800mips/sbd remove unused
details: https://anonhg.NetBSD.org/src/rev/d3b6ae76cda9
branches: trunk
changeset: 326233:d3b6ae76cda9
user: christos <christos%NetBSD.org@localhost>
date: Wed Jan 22 18:47:03 2014 +0000
description:
remove unused
diffstat:
sys/arch/ews4800mips/sbd/zs_sbdio.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r bfb019e5f81d -r d3b6ae76cda9 sys/arch/ews4800mips/sbd/zs_sbdio.c
--- a/sys/arch/ews4800mips/sbd/zs_sbdio.c Wed Jan 22 18:20:41 2014 +0000
+++ b/sys/arch/ews4800mips/sbd/zs_sbdio.c Wed Jan 22 18:47:03 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: zs_sbdio.c,v 1.10 2008/04/28 20:23:18 martin Exp $ */
+/* $NetBSD: zs_sbdio.c,v 1.11 2014/01/22 18:47:03 christos Exp $ */
/*-
* Copyright (c) 1996, 2005 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zs_sbdio.c,v 1.10 2008/04/28 20:23:18 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zs_sbdio.c,v 1.11 2014/01/22 18:47:03 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -111,12 +111,11 @@
struct zschan *zc;
struct zs_chanstate *cs;
struct zsdevice *zs_addr;
- int s, zs_unit, channel;
+ int s, channel;
zsc->zsc_dev = self;
aprint_normal("\n");
- zs_unit = device_unit(self);
zs_addr = (void *)MIPS_PHYS_TO_KSEG1(sa->sa_addr1);
zsc->zsc_flags = sa->sa_flags;
Home |
Main Index |
Thread Index |
Old Index