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 duplicated "portno %d" from the attach me...



details:   https://anonhg.NetBSD.org/src/rev/353e9e73449f
branches:  trunk
changeset: 584538:353e9e73449f
user:      itohy <itohy%NetBSD.org@localhost>
date:      Fri Sep 23 14:15:30 2005 +0000

description:
Remove duplicated "portno %d" from the attach message.

diffstat:

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

diffs (30 lines):

diff -r 74eb55870160 -r 353e9e73449f sys/dev/usb/ucom.c
--- a/sys/dev/usb/ucom.c        Fri Sep 23 14:11:15 2005 +0000
+++ b/sys/dev/usb/ucom.c        Fri Sep 23 14:15:30 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ucom.c,v 1.58 2005/09/06 21:40:45 kleink Exp $ */
+/*     $NetBSD: ucom.c,v 1.59 2005/09/23 14:15:30 itohy Exp $  */
 
 /*
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.58 2005/09/06 21:40:45 kleink Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ucom.c,v 1.59 2005/09/23 14:15:30 itohy Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -178,10 +178,8 @@
        struct ucom_attach_args *uca = aux;
        struct tty *tp;
 
-       if (uca->portno != UCOM_UNK_PORTNO)
-               printf(": portno %d", uca->portno);
        if (uca->info != NULL)
-               printf(", %s", uca->info);
+               printf(": %s", uca->info);
        printf("\n");
 
        sc->sc_udev = uca->device;



Home | Main Index | Thread Index | Old Index