Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Make commented-out code in ucomstop() compilable.



details:   https://anonhg.NetBSD.org/src/rev/1b359f47a7bb
branches:  trunk
changeset: 772128:1b359f47a7bb
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Mon Dec 19 19:30:12 2011 +0000

description:
Make commented-out code in ucomstop() compilable.

diffstat:

 sys/dev/usb/ucom.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5c4b92d4ec77 -r 1b359f47a7bb sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c        Mon Dec 19 19:09:16 2011 +0000
+++ b/sys/dev/usb/ucom.c        Mon Dec 19 19:30:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom.c,v 1.88 2011/11/19 22:51:24 tls Exp $    */
+/*     $NetBSD: ucom.c,v 1.89 2011/12/19 19:30:12 jakllsch Exp $       */
 
 /*
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.88 2011/11/19 22:51:24 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.89 2011/12/19 19:30:12 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1037,7 +1037,7 @@
 {
 #if 0
        /*struct ucom_softc *sc =
-           device_lookup_private(&ucom_cd, UCOMUNIT(dev));*/
+           device_lookup_private(&ucom_cd, UCOMUNIT(tp->tp_dev));*/
        int s;
 
        s = spltty();



Home | Main Index | Thread Index | Old Index