PM: Remove unnecessary goto from device_resume_noirq()
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 13 Dec 2009 19:31:12 +0000 (20:31 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 15 Dec 2009 19:42:06 +0000 (20:42 +0100)
commit33c3374031facf7599c30a1548dfa4c83da87da3
treea13c07cf40f4a6d26236c4ec97420f4854f91fca
parentf2511774863487e61b56a97da07ebf8dd61d7836
PM: Remove unnecessary goto from device_resume_noirq()

In device_resume_noirq() there is the 'End' label and the associated
goto statement that aren't strictly necessary, so rework the code to
get rid of them.  Also modify device_suspend_noirq() so that it looks
completely analogous to device_resume_noirq().

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/main.c