The following patch merges two functions in a trivial way.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
return pblist;
}
-static int suspend_prepare_image(void)
+asmlinkage int swsusp_save(void)
{
unsigned nr_pages;
printk("swsusp: critical section/: done (%d pages copied)\n", nr_pages);
return 0;
}
-
-
-asmlinkage int swsusp_save(void)
-{
- return suspend_prepare_image();
-}