Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Remove some debugging crap.



details:   https://anonhg.NetBSD.org/src/rev/d16e703976de
branches:  trunk
changeset: 535583:d16e703976de
user:      augustss <augustss%NetBSD.org@localhost>
date:      Fri Aug 23 00:58:58 2002 +0000

description:
Remove some debugging crap.

diffstat:

 sys/dev/usb/ubtbcmfw.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r 169246f5108f -r d16e703976de sys/dev/usb/ubtbcmfw.c
--- a/sys/dev/usb/ubtbcmfw.c    Fri Aug 23 00:55:20 2002 +0000
+++ b/sys/dev/usb/ubtbcmfw.c    Fri Aug 23 00:58:58 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ubtbcmfw.c,v 1.1 2002/08/23 00:55:21 augustss Exp $    */
+/*     $NetBSD: ubtbcmfw.c,v 1.2 2002/08/23 00:58:58 augustss Exp $    */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ubtbcmfw.c,v 1.1 2002/08/23 00:55:21 augustss Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ubtbcmfw.c,v 1.2 2002/08/23 00:58:58 augustss Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -216,7 +216,6 @@
        int error;
        char buf[1024];
 
-printf("open %s\n", filename);
        NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, filename, p);
        if ((error = vn_open(&nd, FREAD, 0)) != 0)
                return (error);
@@ -229,7 +228,6 @@
 
        for (offs = 0; ; offs += size) {
                size = sizeof buf;
-printf("read %d at %d\n", size, offs);
                error = vn_rdwr(UIO_READ, vp, buf, size, offs, UIO_SYSSPACE,
                    IO_NODELOCKED | IO_SYNC, p->p_ucred, &resid, p);
                size -= resid;
@@ -242,7 +240,6 @@
        }
 
 out:
-printf("close\n");
        vn_close(vp, FREAD, p->p_ucred, p);
        return error;
 }



Home | Main Index | Thread Index | Old Index