Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93338
b: refs/heads/master
c: 9063ff4
h: refs/heads/master
v: v3
  • Loading branch information
Ingo van Lil authored and Greg Kroah-Hartman committed Apr 25, 2008
1 parent abe9133 commit 578b45d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 73d79aaba9ee21aaa1a6676f568ef7b3bdf993ea
refs/heads/master: 9063ff44f081a0297085952f6760dfe1f8ca840e
14 changes: 6 additions & 8 deletions trunk/drivers/usb/gadget/dummy_hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,16 +365,14 @@ dummy_enable (struct usb_ep *_ep, const struct usb_endpoint_descriptor *desc)
case USB_SPEED_HIGH:
if (max == 512)
break;
/* conserve return statements */
default:
switch (max) {
case 8: case 16: case 32: case 64:
goto done;
case USB_SPEED_FULL:
if (max == 8 || max == 16 || max == 32 || max == 64)
/* we'll fake any legal size */
break;
default:
case USB_SPEED_LOW:
goto done;
}
/* save a return statement */
default:
goto done;
}
break;
case USB_ENDPOINT_XFER_INT:
Expand Down

0 comments on commit 578b45d

Please sign in to comment.