Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sun remove unused
details: https://anonhg.NetBSD.org/src/rev/c0777559d58f
branches: trunk
changeset: 791164:c0777559d58f
user: christos <christos%NetBSD.org@localhost>
date: Thu Nov 07 02:38:07 2013 +0000
description:
remove unused
diffstat:
sys/dev/sun/ms_zs.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r 289d9cbd5a00 -r c0777559d58f sys/dev/sun/ms_zs.c
--- a/sys/dev/sun/ms_zs.c Thu Nov 07 02:37:56 2013 +0000
+++ b/sys/dev/sun/ms_zs.c Thu Nov 07 02:38:07 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ms_zs.c,v 1.19 2009/05/12 13:21:06 cegger Exp $ */
+/* $NetBSD: ms_zs.c,v 1.20 2013/11/07 02:38:07 christos Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -52,7 +52,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ms_zs.c,v 1.19 2009/05/12 13:21:06 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ms_zs.c,v 1.20 2013/11/07 02:38:07 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -125,14 +125,11 @@
struct ms_softc *ms = device_private(self);
struct zsc_attach_args *args = aux;
struct zs_chanstate *cs;
- cfdata_t cf;
- int channel, ms_unit;
+ int channel;
int reset, s;
int bps;
ms->ms_dev = self;
- cf = device_cfdata(self);
- ms_unit = device_unit(self);
channel = args->channel;
cs = zsc->zsc_cs[channel];
cs->cs_private = ms;
Home |
Main Index |
Thread Index |
Old Index