Commit 0eb8c7ca authored by Franck Bui-Huu's avatar Franck Bui-Huu Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB: Zero driver: Removed duplicated code

Signed-off-by: default avatarFranck Bui-Huu <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent efafe6fb
......@@ -1224,12 +1224,6 @@ autoconf_fail:
loopback_config.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
if (gadget->is_otg) {
otg_descriptor.bmAttributes |= USB_OTG_HNP,
source_sink_config.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
loopback_config.bmAttributes |= USB_CONFIG_ATT_WAKEUP;
usb_gadget_set_selfpowered (gadget);
init_timer (&dev->resume);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment