aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2013-10-05 12:02:09 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-05 21:00:08 -0400
commit070104966cde138627fea8257ef278f7a0d1379b (patch)
tree7aad184c96a1fbe7964eea392d8b8177b368964e /drivers/usb/core
parent048cb21c37a917b4872de9cd004cbf017a65b362 (diff)
drivers: usb: core: hcd: removed braces for return statements
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r--drivers/usb/core/hcd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/core/hcd.c b/drivers/usb/core/hcd.c
index b98f3d910c89..2a538ce08f9c 100644
--- a/drivers/usb/core/hcd.c
+++ b/drivers/usb/core/hcd.c
@@ -1121,18 +1121,18 @@ long usb_calc_bus_time (int speed, int is_input, int isoc, int bytecount)
1121 case USB_SPEED_LOW: /* INTR only */ 1121 case USB_SPEED_LOW: /* INTR only */
1122 if (is_input) { 1122 if (is_input) {
1123 tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L; 1123 tmp = (67667L * (31L + 10L * BitTime (bytecount))) / 1000L;
1124 return (64060L + (2 * BW_HUB_LS_SETUP) + BW_HOST_DELAY + tmp); 1124 return 64060L + (2 * BW_HUB_LS_SETUP) + BW_HOST_DELAY + tmp;
1125 } else { 1125 } else {
1126 tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L; 1126 tmp = (66700L * (31L + 10L * BitTime (bytecount))) / 1000L;
1127 return (64107L + (2 * BW_HUB_LS_SETUP) + BW_HOST_DELAY + tmp); 1127 return 64107L + (2 * BW_HUB_LS_SETUP) + BW_HOST_DELAY + tmp;
1128 } 1128 }
1129 case USB_SPEED_FULL: /* ISOC or INTR */ 1129 case USB_SPEED_FULL: /* ISOC or INTR */
1130 if (isoc) { 1130 if (isoc) {
1131 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; 1131 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
1132 return (((is_input) ? 7268L : 6265L) + BW_HOST_DELAY + tmp); 1132 return ((is_input) ? 7268L : 6265L) + BW_HOST_DELAY + tmp;
1133 } else { 1133 } else {
1134 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L; 1134 tmp = (8354L * (31L + 10L * BitTime (bytecount))) / 1000L;
1135 return (9107L + BW_HOST_DELAY + tmp); 1135 return 9107L + BW_HOST_DELAY + tmp;
1136 } 1136 }
1137 case USB_SPEED_HIGH: /* ISOC or INTR */ 1137 case USB_SPEED_HIGH: /* ISOC or INTR */
1138 /* FIXME adjust for input vs output */ 1138 /* FIXME adjust for input vs output */