usb: gadget: dummy_hcd: use less checks for USB_SPEED_SUPER
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 17 Jun 2011 08:11:41 +0000 (10:11 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:31:08 +0000 (14:31 -0700)
commitd8a14a85c72faf1bdcbbc12255361aaa9cb79ff5
tree0243234c420daf30548c67f4787675cb59d62f99
parent719e52cbc7b826fae9501f3b86b8cbc25a4c5268
usb: gadget: dummy_hcd: use less checks for USB_SPEED_SUPER

Taking the correct struct once avoids doing the speed dance.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/dummy_hcd.c