[PATCH] swsusp: get rid of unnecessary wrapper function

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>
This commit is contained in:
Rafael J. Wysocki 2005-10-30 15:00:00 -08:00 committed by Linus Torvalds
parent de491861e1
commit 2e32a43efd
1 changed files with 1 additions and 7 deletions

View File

@ -378,7 +378,7 @@ static struct pbe *swsusp_alloc(unsigned nr_pages)
return pblist;
}
static int suspend_prepare_image(void)
asmlinkage int swsusp_save(void)
{
unsigned nr_pages;
@ -433,9 +433,3 @@ static int suspend_prepare_image(void)
printk("swsusp: critical section/: done (%d pages copied)\n", nr_pages);
return 0;
}
asmlinkage int swsusp_save(void)
{
return suspend_prepare_image();
}