]> git.karo-electronics.de Git - mv-sheeva.git/commit
PM / Hibernate: Refactor and simplify hibernation_snapshot() code
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Tue, 22 Nov 2011 22:20:31 +0000 (23:20 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 23 Nov 2011 20:13:41 +0000 (21:13 +0100)
commit953a206393b1533ceb0e7d725cc5a8c8d7ed97dd
tree7eb6448987f474f287bd2fce66dd1fff6e2eec30
parent64e94aafb6a5c4f419e9b8f93950914b5ac162a9
PM / Hibernate: Refactor and simplify hibernation_snapshot() code

The goto statements in hibernation_snapshot() are a bit complex.
Refactor the code to remove some of them, thereby simplifying the
implementation.

Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/hibernate.c