diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-02-01 10:47:11 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-03-20 17:49:58 -0500 |
commit | 43c5d5aaafef56618a6efbcab7f91615da1a8659 (patch) | |
tree | f3b0203e803b4b03a976cd3c8cb4d02f974e0f87 /drivers/usb | |
parent | 6a8e87b23ff4a979bde5451a242466a4b3f9fe7d (diff) |
[PATCH] usbcore: fix compile error with CONFIG_USB_SUSPEND=n
This patch (as647) fixes a small error introduced by a recent change to
the USB core suspend/resume code.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index f1d64d4bbf5f..7dd28f8e1cea 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -1892,8 +1892,8 @@ int usb_resume_device(struct usb_device *udev) | |||
1892 | status = hub_port_resume(hdev_to_hub(udev->parent), | 1892 | status = hub_port_resume(hdev_to_hub(udev->parent), |
1893 | udev->portnum, udev); | 1893 | udev->portnum, udev); |
1894 | } else | 1894 | } else |
1895 | status = 0; | ||
1896 | #endif | 1895 | #endif |
1896 | status = 0; | ||
1897 | } else | 1897 | } else |
1898 | status = finish_device_resume(udev); | 1898 | status = finish_device_resume(udev); |
1899 | if (status < 0) | 1899 | if (status < 0) |