From 01e43cfe0ab757885964b5817a210622d480e16d Mon Sep 17 00:00:00 2001 From: Alan Stern Date: Fri, 4 May 2007 11:53:30 -0400 Subject: [PATCH] --- yaml --- r: 59383 b: refs/heads/master c: 8adb4786789c25007f39b4d00dd03cc83bdcb896 h: refs/heads/master i: 59381: 21955240cbca3bc74487a133f1bd1116cf2abf80 59379: 05a85b07e148fea3fe6803f278560bfaea9a10c0 59375: 656532b0267585017c0e79203c8d08e088284834 v: v3 --- [refs] | 2 +- trunk/drivers/usb/core/hub.c | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/[refs] b/[refs] index 599accc512ff..382e73600f97 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b6f6436da0c6853eedad86f5075b139c1a3bcb5d +refs/heads/master: 8adb4786789c25007f39b4d00dd03cc83bdcb896 diff --git a/trunk/drivers/usb/core/hub.c b/trunk/drivers/usb/core/hub.c index 8aea8559bec2..702023075310 100644 --- a/trunk/drivers/usb/core/hub.c +++ b/trunk/drivers/usb/core/hub.c @@ -2426,19 +2426,6 @@ static void hub_port_connect_change(struct usb_hub *hub, int port1, return; } -#ifdef CONFIG_USB_SUSPEND - /* If something is connected, but the port is suspended, wake it up. */ - if (portstatus & USB_PORT_STAT_SUSPEND) { - status = hub_port_resume(hub, port1, NULL); - if (status < 0) { - dev_dbg(hub_dev, - "can't clear suspend on port %d; %d\n", - port1, status); - goto done; - } - } -#endif - for (i = 0; i < SET_CONFIG_TRIES; i++) { struct usb_device *udev;