Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb KNF.



details:   https://anonhg.NetBSD.org/src/rev/1490b056bf23
branches:  trunk
changeset: 554498:1490b056bf23
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Oct 28 23:40:27 2003 +0000

description:
KNF.

diffstat:

 sys/dev/usb/uftdi.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 14ccf0eb4985 -r 1490b056bf23 sys/dev/usb/uftdi.c
--- a/sys/dev/usb/uftdi.c       Tue Oct 28 23:37:59 2003 +0000
+++ b/sys/dev/usb/uftdi.c       Tue Oct 28 23:40:27 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uftdi.c,v 1.15 2003/10/25 18:28:31 christos Exp $      */
+/*     $NetBSD: uftdi.c,v 1.16 2003/10/28 23:40:27 mycroft Exp $       */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uftdi.c,v 1.15 2003/10/25 18:28:31 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uftdi.c,v 1.16 2003/10/28 23:40:27 mycroft Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -468,8 +468,9 @@
                        return (EINVAL);
                }
                break;
+
        default:
-               return EINVAL;
+               return (EINVAL);
        }
        req.bmRequestType = UT_WRITE_VENDOR_DEVICE;
        req.bRequest = FTDI_SIO_SET_BAUD_RATE;



Home | Main Index | Thread Index | Old Index