summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-02-07 09:06:17 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-20 14:49:57 -0800
commit0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd (patch)
tree2365741645c76f7925f9e637ee68da2e1b2d3087 /drivers
parentefafe6fb72b2bbab40080a08f7946f1eadb9bad9 (diff)
downloadop-kernel-dev-0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd.zip
op-kernel-dev-0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd.tar.gz
[PATCH] USB: Zero driver: Removed duplicated code
Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/gadget/zero.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gadget/zero.c
index ae7a1c0..5e9fe8a 100644
--- a/drivers/usb/gadget/zero.c
+++ b/drivers/usb/gadget/zero.c
@@ -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);
OpenPOWER on IntegriCloud