Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev Make this build again (remove unused variable).



details:   https://anonhg.NetBSD.org/src/rev/14b277be5985
branches:  trunk
changeset: 586878:14b277be5985
user:      xtraeme <xtraeme%NetBSD.org@localhost>
date:      Wed Jan 04 17:16:35 2006 +0000

description:
Make this build again (remove unused variable).

diffstat:

 sys/dev/cgd.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r a41b8a88b455 -r 14b277be5985 sys/dev/cgd.c
--- a/sys/dev/cgd.c     Wed Jan 04 16:12:35 2006 +0000
+++ b/sys/dev/cgd.c     Wed Jan 04 17:16:35 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgd.c,v 1.33 2006/01/04 10:13:05 yamt Exp $ */
+/* $NetBSD: cgd.c,v 1.34 2006/01/04 17:16:35 xtraeme Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.33 2006/01/04 10:13:05 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.34 2006/01/04 17:16:35 xtraeme Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -296,7 +296,6 @@
        caddr_t addr;
        caddr_t newaddr;
        daddr_t bn;
-       int s;
 
        DPRINTF_FOLLOW(("cgdstart(%p, %p)\n", dksc, bp));
        disk_busy(&dksc->sc_dkdev); /* XXX: put in dksubr.c */



Home | Main Index | Thread Index | Old Index