Skip to content

Commit

Permalink
[PATCH] usbcore: fix compile error with CONFIG_USB_SUSPEND=n
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent 6a8e87b commit 43c5d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/core/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -1892,8 +1892,8 @@ int usb_resume_device(struct usb_device *udev)
status = hub_port_resume(hdev_to_hub(udev->parent),
udev->portnum, udev);
} else
status = 0;
#endif
status = 0;
} else
status = finish_device_resume(udev);
if (status < 0)
Expand Down

0 comments on commit 43c5d5a

Please sign in to comment.