PM / Hibernate: Swap, remove useless check from swsusp_read()
commit09c09bc618a4ceec387c57542031b4fc35826e16
authorJiri Slaby <jslaby@suse.cz>
Wed, 27 Jan 2010 22:47:56 +0000 (27 23:47 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Fri, 26 Feb 2010 19:39:11 +0000 (26 20:39 +0100)
tree36efbdea09ad192e0f1596a39228a1d31da9d8e2
parentb694e52ebdd439e4591d4a6651658026196174f6
PM / Hibernate: Swap, remove useless check from swsusp_read()

It will never reach here if the sws_resume_bdev is erratic.
swsusp_read() is called only from software_resume(), but after
swsusp_check() which would catch the error state.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/swap.c