Module Name: src Committed By: christos Date: Thu Nov 7 02:38:07 UTC 2013
Modified Files: src/sys/dev/sun: ms_zs.c Log Message: remove unused To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/dev/sun/ms_zs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/sun/ms_zs.c diff -u src/sys/dev/sun/ms_zs.c:1.19 src/sys/dev/sun/ms_zs.c:1.20 --- src/sys/dev/sun/ms_zs.c:1.19 Tue May 12 09:21:06 2009 +++ src/sys/dev/sun/ms_zs.c Wed Nov 6 21:38:07 2013 @@ -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 @@ ms_zs_attach(device_t parent, device_t s 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;