Module Name:    src
Committed By:   skrll
Date:           Tue Sep 13 07:30:32 UTC 2016

Modified Files:
        src/sys/dev/usb: uhub.c

Log Message:
tiny KNF


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/dev/usb/uhub.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/uhub.c
diff -u src/sys/dev/usb/uhub.c:1.133 src/sys/dev/usb/uhub.c:1.134
--- src/sys/dev/usb/uhub.c:1.133	Sat Apr 23 10:15:32 2016
+++ src/sys/dev/usb/uhub.c	Tue Sep 13 07:30:32 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: uhub.c,v 1.133 2016/04/23 10:15:32 skrll Exp $	*/
+/*	$NetBSD: uhub.c,v 1.134 2016/09/13 07:30:32 skrll Exp $	*/
 /*	$FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $	*/
 /*	$OpenBSD: uhub.c,v 1.86 2015/06/29 18:27:40 mpi Exp $ */
 
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.133 2016/04/23 10:15:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.134 2016/09/13 07:30:32 skrll Exp $");
 
 #include <sys/param.h>
 
@@ -321,7 +321,7 @@ uhub_attach(device_t parent, device_t se
 
 	if (USB_IS_SS(dev->ud_speed) && dev->ud_depth != 0) {
 		aprint_debug_dev(self, "setting hub depth %u\n",
-		    dev->ud_depth-1);
+		    dev->ud_depth - 1);
 		err = usbd_set_hub_depth(dev, dev->ud_depth - 1);
 		if (err) {
 			aprint_error_dev(self, "can't set depth\n");

Reply via email to